I am using putty ssh client in windows to login to remote machine
I transfer files using scp and pscp from my local to server
scp:
scp -r script-1/ root@104.130.169.111:/mounarajan/script-1
Response in command line:
artist_dedup_urls1 100% 414KB 413.8KB/s 00:00
reverbnation_crawler.py 100% 21KB 21.0KB/s 00:00
pscp:
pscp -r script-1/ root@104.130.169.111:/mounarajan/script-1
Response in command line:
artist_dedup_urls1 | 413 kB | 413.8 kB/s | ETA: 00:00:00 | 100%
reverbnation_crawler.py | 21 kB | 21.0 kB/s | ETA: 00:00:00 | 100%
But after this the script-1
folder in server machine is empty.
Where is the problem actaully?
Did you deleted the "script-1" on 104.130.169.111 before? Your situation seems to be the same as this scenario:
Solution is: on command window 1, cd to another directory and then cd back to "a/b/c" again to access the newly created directory