Topic "SSIS ...process exit code was "1" while the expected was "0""

Author Message
radro23

Guest


I'm having issues executing WinSCP.com from an Execute Process Task in SSIS. If the file doesn't exist in the destination server, the package runs successful, if the file does exist in the destination server I get the error:

[Execute Process Task] Error: In Executing "C:\Winscp\WinSCP.com" "/command "option confirm off" /log=C:\Winscp\Logs\2011-06-08.125002.xml" at "", The process exit code was "1" while the expected was "0".

The contents from the log file is the following (in both cases of failure and success, the log is the same with the exception of the time):

<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="http://winscp.net/schema/session/1.0" name="ftpservername" start="2011-06-08T15:50:02.692Z">
<upload>
<filename value="\\xxxservername\xxxfilename.xls" />
<destination value="filename.xls" />
<result success="true" />
</upload>
</session>

Not sure what the problem is.

Radro
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you post plain log file, instead of the XML one?
_________________
Martin Prikryl
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