receive error message turn off transfer resume support"

Advertisement

a052775
Joined:
Posts:
3
Location:
DFW

receive error message turn off transfer resume support"

WInSCP Version:
Version: WinSCP Version 4.1.8 (Build 415)

Windows Version:
Windows 2008 Service Pack 1

Transfer Proocol
Using SFTP protocol.

Using Scripting

Im 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. Ive 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 Im 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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: receive error message turn off transfer resume support"

Are you sure the ini file you have changed is used at all? Have you tried to use it explicitly using /ini switch?
_________________
Martin Prikryl

Reply with quote

a052775
Joined:
Posts:
3
Location:
DFW

Re: receive error message turn off transfer resume support"

:D I reran my scripts using the /ini switch and that worked. Thank you so much for the excellent feedback.

Reply with quote

africates
Joined:
Posts:
1

WinSCP plugin for FAR - transfer resume support

Hi guys!

How to do the same in WinSCP plugin for FAR? I'd be grateful for you advice.

Thanks!
afri

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: WinSCP plugin for FAR - transfer resume support

africates wrote:

How to do the same in WinSCP plugin for FAR? I'd be grateful for you advice.
Options > Plugins configuration > WinSCP > Endurance settings > Enable transfer resume/transfer to temporary file name for ...
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum