I am trying to download/copy/move file using SFTP in SSIS by using psftp.exe. My question in SSIS Execute Process Task how to write the arguments. In folder I have psftp.exe, one batch file (b.bat).
Username : user11
Password : pass***
host : Server name : mftobinternal.com
Now I am passing them in argument :
user11@mftobinternal.com -pw pass*** -be batch -b b.bat
Is this a right way? Because I am getting error.
Error : [Execute Process Task] Error: In Executing "C\FTP\psftp.exe" "user11@mftobinternal.com -pw pass*** -be batch -b Batch.bat" at "C\FTP", The process exit code was "1" while the expected was "0".
Thank you!