Topic "receive error message turn off transfer resume support""

Author Message
a052775
[View user's profile]

Joined: 2010-04-01
Posts: 3
Location: DFW
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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
a052775
[View user's profile]

Joined: 2010-04-01
Posts: 3
Location: DFW
Very Happy I reran my scripts using the /ini switch and that worked. Thank you so much for the excellent feedback.
africates
[View user's profile]

Joined: 2009-07-13
Posts: 1
Hi guys!

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

Thanks!
afri
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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
low

Guest


turn off the resumesupport:
put *.txt -nopreservetime -nopermissions -resumesupport=off
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License