Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: filepart renaming issues.

You cannot turn it off directly from script. Please read FAQ for help.
vmanne

filepart renaming issues.

Hi,

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...
Authenticating...
Using username "xxxxx".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] xxx@xx.xxx.com
/newfiles
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
winscp>