Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: SSIS package scheduled in SQL agent.

[quote="KDG"]Does WinSCP has a timeout?[/qoute]
Timeout for what?
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.
KDG

Re: SSIS package scheduled in SQL agent.

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
wmb853

Re: SSIS package scheduled in SQL agent.

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

Re: SSIS package scheduled in SQL agent.

martin 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
martin

Re: SSIS package scheduled in SQL agent.

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.
KDG

Re: SSIS package scheduled in SQL agent.

I mean martin, sorry for that.
KDG

Re: SSIS package scheduled in SQL agent.

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,
martin

Re: SSIS package scheduled in SQL agent.

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.
KDG

SSIS package scheduled in SQL agent.

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.