Topic "WinSCP SSIS Task not getting file on first try."

Author Message


Version 5.8.1 beta (Build 6144).

Issue: I built an SSIS Process Task which called launched WINSCP.exe with an argument:

Option exclude */
get -latest /*.tar.gz"

The package has been running perfect until about a week ago. Now when I execute the task, it does not retrieve the latest file, but the SSIS task completes although it was successful.

What I find interesting is that if I launch WinSCP application and connect to the same FTP site, I see the file I need there.
So at this point when I go back to SSIS and execute the task, it works this time around and starts to pull the file down.

Is this related to the version I recently upgraded to?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

Also, why is there the double quote at the end of the get command?

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

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