joney wrote:
I have the following script that I wrote to a text file called download.txt:
option batch on
# Disable overwrite confirmations
option confirm off
# Do the work
get file*.zip c:\Folder
# Close and exit
close
exit
I am using an SSIS Execute Process Task with the following settings:
RequireFullFileName: True
Executable: C:\Program Files\WinSCP\WinSCP.exe
Arguments: user@ftp.server.com:2222 /privatekey="c:\Folder\PKey.ppk" /script="c:\Folder\download.txt"
WorkingDirectory: c:\Folder
The rest of the settings are default.
When I execute the task, I receive an [Execute Process Task]Progress: Operation Complete - 100 percent complete. However it did not transfer (get) the zip file from the FTP server. What am I doing wrong?
I have the same problem :(
When I'm running the command with scriptfile as agrument at the commandshell I get no errormessage, but it downloads nothing :(