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: Error code: 4 (temporary file)

If you get the problem in scripting, you better use -resumesupport=off as documented on the page you link to.
oshi

Error code: 4 (temporary file)

I gotten to follwing message wiht WinSCP5.7.6

Error code: 4
Script: Transfer was successfully finished, but temporary transfer file 'XXX.filepart' could not be renamed to target file name 'XXX'. If the problem persists, you may try to turn off transfer resume support.

I checked https://winscp.net/eng/docs/resume#automatic and tryed to cheange it.
but, problem is not solved, same error

Preferences > Transfer > Endurance > Enable transfer resume / transfer to temporary filename > Disable

Do you have any idea solve the probrem.