I've read a whole bunch of different forums on this but cant seem to get mine to work. I need to transfer a file from my local machine to an SFTP server using SSIS. Here is what i've already done:
- I downloaded WINSCP
- Created a saved connection in WINSCP
- Open up that saved connection (to verify)
- Copied WinSCP.exe and WinSCP.com to the SSIS project folder
- Create Text file with the below script.
option batch on
option confirm off
open TS_NEW
cd C:\Users\zaccheut\Documents\Analytics Project 2018\ThoughtSpot\SSIS File
option transfer binary
put FCT_DC_MONTH.csv /export/xvdb1/skynet/File_Test
exit
- Opened up SSIS, created an Execute Process task
- Add the executable from the SSIS project folder and Argument:
I keep getting the same error message.
Since its so small, here is the error message:
Error: 0xC0029151 at Execute Process Task,Execute Process Task: In Executing
"C:\Users\zaccheut\Documents\Visual Studio
2012\Projects\Skynet Refreshes\Skynet
Refreshes\WinSCP.com" "/script=C:\Users\
zaccheut\Documents\Visual Studio 2012\Projects
\Skynet Refreshes\Skynet Refreshes\local2remote.txt" at "",
The process exit code was "1" while the expected was "0".