Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

PSFTP and SSIS

$
0
0

I cannot get my psftp batch file to work, getting the following error from SSIS

SSIS package "MISData SFTP.dtsx" starting.

Error: 0xC0029151 at Execute Process Task, Execute Process Task: In Executing "E:\psftp\psftp.bat" "" at "", The process exit code was "1" while the expected was "0".

Task failed: Execute Process Task

Warning: 0x80019002 at MISData SFTP: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

SSIS package "MISData SFTP.dtsx" finished: Failure.

My scd file contents is

cd /
lcd E:\psftp\data
mput *

Then the batch file looks like this:

psftp.exe -batch -b E:\psftp\psftp.scp -pw password domain\user@ssh.example.co.za

The batch file on it's own is working fine, but as soon as I put in in SSIS it fails.

I even setup EncyptSensitivewithPassword setting on SSIS to try to resolve this eror, this does not even work


Andre Toerien


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>