WinSCP hanging up as Scheduled SQL Job but runs fine as a Manually run SQL Job

Advertisement

elainec351
Guest

WinSCP hanging up as Scheduled SQL Job but runs fine as a Manually run SQL Job

I have a SQL Server Agent Scheduled Job that uses WinSCP to transfer sFTP files to my remote server. It does the transfer but hangs up before getting to the next task. If I stop that job that was kicked on a schedule and restart it manually, also within SQL Server Agent, it runs just fine. I have exhausted my knowledge on this one. Any help would be immensely appreciated.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: WinSCP hanging up as Scheduled SQL Job but runs fine as a Manually run SQL Job

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. 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 can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum