Topic "Exit Codes"

Author Message
StandingStill

Guest


Hi,

Im using SSIS to call the winscp3 executable with variable arguemtns to connect to a sftp server and download some files.

When I run my SSIS package directly it works every time, however when it is ran as part of a scheduled job it fails.

The exit code (the only info I have) is 2. I cant seem to find what that code means, I would expect 0 for success and 1 for failure. Does anyone know what 2 would be Question

Hope you can help.....

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Do you run winscp3.exe or winscp3.com? Winscp3.exe shoud never return 2. Winscp3.com returns 2 basically if it cannot find and run winscp3.exe.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Also see guide to using WinSCP from SSIS.
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