Topic "SSIS package scheduled in SQL agent."

Author Message
KDG
[View user's profile]

Joined: 2011-02-23
Posts: 5
Hi,

I have multiple packages that runs with WinSCP.com using Execute process task, it is in FTPS implicit protocol. the problem now is some of my package is failing to send to the FTP, i already read the FAQ, i already implemented the certificate='...'. when i run it manually using the job it successfully done and it send to the FTP but when the job execute automatically it sometimes indicates a problem and its recurring.

i also get some errors of The process exit code was "1" while the expected was "0"
but when i see the FTP path the file is sent.

any suggestion for this? Thanks in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
KDG
[View user's profile]

Joined: 2011-02-23
Posts: 5
Hi Mark,

just a question if why Execute Process task is in failed status after exiting the WinSCP.com? I am still not sending the logs yet.


Thanks,
KDG
[View user's profile]

Joined: 2011-02-23
Posts: 5
I mean martin, sorry for that.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
KDG wrote:
just a question if why Execute Process task is in failed status after exiting the WinSCP.com? I am still not sending the logs yet.

Well, that's what I want to find out from the logs.
_________________
Martin Prikryl
KDG
[View user's profile]

Joined: 2011-02-23
Posts: 5
prikryl wrote:
KDG wrote:
just a question if why Execute Process task is in failed status after exiting the WinSCP.com? I am still not sending the logs yet.

Well, that's what I want to find out from the logs.



Hi Martin,

Yeah, I realize that also after posting it. sorry for my stupid questions.

but I think this is not a stupid question anymore.

Does WinSCP has a timeout? for example my package(with WinSCP) is still running and not yet finish but my other package start now getting started which has also a WinSCP would you think connecting on the same time on a same computer can affect the connection between my First package which is first connected to the FTP and the second package which is now connecting?

Thanks for fast reply Martin!

Best regards,
Jeric

Best regards,
Jeric
wmb853
[View user's profile]

Joined: 2011-02-28
Posts: 1
KDG wrote:
Hi Mark,

just a question if why Execute Process task is in failed status after exiting the WinSCP.com? I am still not sending the logs yet.


Thanks,



Are you asking why the Execute Process task DOES NOT report an error or why it DOES report an error? Are you able to get the log to work? I have the following in a bat file and it won't log anything.

c:\WinSCP\WinSCP3.exe /console /script="c:\EMT\AutoFTP.txt" /log="C:\EMT\winscp.log"
KDG
[View user's profile]

Joined: 2011-02-23
Posts: 5
wmb853 wrote:
KDG wrote:
Hi Mark,

just a question if why Execute Process task is in failed status after exiting the WinSCP.com? I am still not sending the logs yet.


Thanks,



Are you asking why the Execute Process task DOES NOT report an error or why it DOES report an error? Are you able to get the log to work? I have the following in a bat file and it won't log anything.

c:\WinSCP\WinSCP3.exe /console /script="c:\EMT\AutoFTP.txt" /log="C:\EMT\winscp.log"


Hi There,

Are you also seeking for help? try to add session on your line. Please see documentation Logging. I hope it helps you.

Regards,
J
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
[quote="KDG"]Does WinSCP has a timeout?[/qoute]
Timeout for what?
Quote:
for example my package(with WinSCP) is still running and not yet finish but my other package start now getting started which has also a WinSCP would you think connecting on the same time on a same computer can affect the connection between my First package which is first connected to the FTP and the second package which is now connecting?

In general no. But if you are manipulating some files, the two processes may get into conflict.
_________________
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