WInSCP Version:
Version: WinSCP Version 4.1.8 (Build 415)
Windows Version:
Windows 2008 Service Pack 1
Transfer Proocol
Using SFTP protocol.
Using Scripting
I'm able to log in and send a file to an external site, but I get the error message "turn off transfer resume support" and a non zero return code. I've looked on this site for a similar issues and found
https://winscp.net/forum/viewtopic.php?t=6597
I updated my WinSCP.ini with "ResumeSupport=2" but I'm still getting the same error. Is their something else I can try?
Specific error:
. 2010-03-31 16:43:16.520 Transfer was succesfully finished, but temporary transfer file 'MYUSERID.STUFF.0401.filepart' could not be renamed to target file name 'MYUSERID.STUFF.0401'. If the problem persists, you may try to turn off transfer resume support.
. 2010-03-31 16:43:16.520 Error code: 2
. 2010-03-31 16:43:16.520 Error message from server: Specified file path is invalid.
. 2010-03-31 16:43:16.520 Request code: 18")
Command:
winscp.com /script="D:\testing\testWINSCPV2.txt" /log="C:\program files\winscp\log.txt"
Script:
option batch on
option confirm off
open MyTEST
LCD \\COMMONDAT\data\
cd inbox
PUT MYUSERID.STUFF.0401
close
exit