Topic "filepart renaming issues."

Author Message
[View user's profile]

Joined: 2007-08-30
Posts: 2

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 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...
Session started.
Active session: [1]
transfer binary
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
winscp> ls
-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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
You cannot turn it off directly from script. Please read FAQ for help.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License