Topic "Transfer Resume Support IS A BUG, not a "feature""

Author Message


Hear me out.

I am calling WinSCP using SSIS & a script.txt file. Script is as follows:

option batch on
option confirm off
open <session>
option transfer binary
put <files>

And any file > 100 KiB is first sent as a .filepart. (Even though it has the ENTIRE file as .filepart. it can be 105 KiB, 107 KiB, etc.) The SFTP server is (I assume) running some process that locks the files for a few seconds and scans them.

So when WinSCP tries to rename the file to it's proper name, it FAILS because it is locked as it is placed.

The only way to circumvent this is through saving the session & selecting .INI storage option, & changing TransferResume = 2. I get that.

Problem is someone like me does not have PERMISSION to generate the .INI under the C drive (where WinSCP is installed). Also, saving a SFTP session seems a bit unsecure. I REALLY want to avoid doing this.

AND there is no way to pass this in as an advanced option in the script. This is literally the only way to circumvent this "feature".

If there is another way, please enlighten me. But as of right now I am stuck.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Thanks for your post.

This issue is being tracked already:

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License