Posted: 2007-09-18 17:55
I am using 4.0.3 version batch commands to transfer files to SFTP server. I am receiving file rename errors. uploaded files are having .filepart extensions. Here is the output log. Can anyone help? Also per error msg, how can I turn off transfer resume with batch command. My basic batch syntax is echo ls winscp.com/command open ftpaddress cd subflder put filename option transfer binary
Searching for host...
Connecting to host...
Using username "xxxxx".
Authenticating with pre-entered password.
Starting the session...
Reading remote directory...
Active session:  firstname.lastname@example.org
C:glimb0_19_09_2007.txt | 827 kB | 252.2 kB/s | binary | 100%
Transfer was succesfully finished, but temporary transfer file 'glimb0_19_09_2007.txt.filepart' could not be renamed to target file name 'glimb0_19_09_2007.txt'. If the problem persists, you may try to turn off transfer resume support.
No such file or directory.
Error code: 2
Error message from server (en): File not found
Request code: 18
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
-rw-rw-rw- 1 user group 845686 Sep 18 0:00:52 2007 glimb0_19_09_2007.txt.filepart
drwxrw-rw- 1 user group 0 Sep 17 13:34:00 2007 datadump
-rw-rw-rw- 1 user group 847339 Sep 18 11:19:00 2007 glimb0_19_09_2007.txt.filepart
Location: Prague, Czechia
You cannot turn it off directly from script. Please read FAQ for help.
You can post new topics in this forum
And it's free!