WinSCP SSIS Task not getting file on first try.



WinSCP SSIS Task not getting file on first try.

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?


Reply with quote

Site Admin
martin avatar
Prague, Czechia

Re: WinSCP SSIS Task not getting file on first try.

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.

Reply with quote


You can post new topics in this forum