Posted: 2013-11-04 13:40
Hi, I'm using the .NET interface with WinSCP 5.1.4 and I am intermittently running into the resume / rename file error.
WinSCP.SessionRemoteException: Transfer was successfully finished, but temporary transfer file 'BottomlineDocument_S_00004425.pdf.filepart' could not be renamed to target file name 'BottomlineDocument_S_00004425.pdf'. If the problem persists, you may try to turn off transfer resume support.
I am aware that support has been added for disabling the resume feature using the .NET interface in 5.2 but this is only in beta and is not a stable release yet.
I'd like to disable the resume feature using an INI file, but as I haven't used an INI before and I can't find much in the way of documentation for these files I'd like to check here that I'm using it correctly.
The session log appears to state that no configuration is being used, the session log file starts:
. 2013-11-02 12:12:50.979 --------------------------------------------------------------------------
. 2013-11-02 12:12:50.979 WinSCP Version 5.1.4 (Build 3020) (OS 5.2.3790 Service Pack 2)
. 2013-11-02 12:12:50.979 Configuration: nul
If I create a file named WinSCP.ini and place it next to the WinSCP.exe file with the following content will that disable the resume feature?
Taken from https://winscp.net/forum/viewtopic.php?t=11460
Is "2" the correct value to disable the resume feature?
Is this the only content required in the INI file?
Thanks in advance for any assistance.
Location: Prague, Czechia
WinSCP .NET assembly is deliberately isolated from any external configuration by default.
You can override that with
Though note that this use is not supported.
I believe that using 5.2.5 beta is safer.
Anyway, your INI file looks good.
Posted: 2013-11-12 19:30
Thanks for the information. Since I had to make a code change either way I tried the 5.2.5 beta release. Looks good so far.
I can see
You can post new topics in this forum
And it's free!