Topic "WinSCP, SSIS and SQL Job"

Author Message
jhong

Guest


I have the the executing of WinSCP as a Execute Process task in my SSIS project. Works perfectly as I have the WinSCP executable executing commands from a script file. Again works perfectly. However when I run the SSIS package from a SQL job I get the below error. Has anyone experienced this before or know what the issue is? Thanks in advance.


Description: In Executing "C:\Program Files (x86)\WinSCP\WinSCP.exe" "/script=D:\Success_Factors\SCP_Script\myscript.txt" at "", The process exit code was "1" while the expected was "0". End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 5:00:02 AM Finished: 5:00:05 AM Elapsed: 2.746 seconds. The package execution failed. The step failed.
Advertisements
jhong

Guest


Okay per this FAQ http://winscp.net/eng/docs/faq_scheduler
I changed the configuration storage, exported .ini to WinSCP folder and it worked.
Hayden

Guest


Thank you ... It worked for me. Smile
twee

Guest


I still couldn't get it work please help.
Package works fine manually but failed in job scheduling with error The process exit code was "1" while the expected was "0"
So how do you export to INI file?
Thanks in advance.
TN
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please read documentation:
http://winscp.net/eng/docs/config#export

If that does not help, come back.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License