SFTP "get" creates another copy on remote machine
I'm running ubuntu 8.04 with ssh server. I do the following with putty from my windows machine:
1. connect/login to linux machine with ssh
2. login to sftp, "sftp user1@desktop", enter password
3. try to get a file, "get Desktop/testFile"
4. receive message, "Fetching /home/user1/Desktop/testFile to testFile"
The file is transferred to another directory on the linux machine, it doesn't get to the windows machine. It is copied from /home/user1/Desktop to /home/user1.
I tried entering remote directories such as "get Desktop/testFile C:/testFile", but received an error: "Couldn't open local file "C:/testFile" for writing: No such file or directory".
Command "get Desktop/user1 C:/" resulted in "Couldn't open local file "C:/" for writing: Is a directory".
Any ideas on transferring the file?
|