Topic "File Not Transfering"

Author Message
[View user's profile]

Joined: 2017-01-05
Posts: 1
This is a wonderful application and excellent documentation.

WinSCP Version 5.9.3
OS : windows 2012

We are using SSIS script task to upload file to server using SFTP protocal.For 2 SFTP servers, the file upload works perfectly.
But for one SFTP server it uploads a file of 0 bytes.
Attached are Session and debug logs. It appears that SSH_FXP_WRITE does not occur.
I used the Winscp GUI and it is able to upload the file to this server. I am using the same account to run the package as in the OS login session.

So i am a loss as to the cause of the problem. Please advise what i can try.

Thank you,
Sharda (10.2 KB) Private file

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
The file seems to be empty:

. 2017-01-04 08:30:41.460 File: 'e:\test\dest\' [2017-01-04T13:30:38.664Z] [0]

If it is not, attach a log file from GUI showing an upload of the same file.

Also make sure that the local account that runs the .NET assembly code has a read access to the file.


Thank you so much Martin. That was hint I was looking for. It was a race condition. Prior to the sftp there was zip task and it was running in a separate process. I put a delay in the sftp and now everything works perfectly.

Thanks again

You can post new topics in this forum


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