in reply to Re^12: transfer a file via SFTP
in thread transfer a file via SFTP
In your previous post you said that when the destination path was "TEST.txt" the transfer was successful, but when you changed the path to "/sftp/test/TEST.txt" it failed. Given the destination system is Windows, I wonder if the ssh server on your Windows system doesn't accept "/" as a directory separator. Maybe it would work if you specified the path as "\\sftp\\test\\TEST.txt", and maybe you should specify the drive: "C:\\sftp\\test\\TEST.txt".
You might try running process monitor on the destination system to see what the ssh server is doing when the file transfer is attempted. I guess you will see it attempt to access some file or folder with a permission error. Maybe you will see that it is not the folder you think it is (e.g. on a different drive).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: transfer a file via SFTP
by cc (Beadle) on Jul 31, 2009 at 23:51 UTC | |
by ig (Vicar) on Aug 01, 2009 at 05:54 UTC | |
by cc (Beadle) on Aug 01, 2009 at 13:44 UTC | |
by ig (Vicar) on Aug 02, 2009 at 02:34 UTC | |
by cc (Beadle) on Aug 05, 2009 at 16:31 UTC | |
|