Quantcast
Channel: File Transfer Planet Forums » Recent Posts
Viewing all articles
Browse latest Browse all 551

dmann@tccm.org on "Running ftpscrpt.com from SQL Server Agent..."

$
0
0

With WS_FTP Pro 12.2, I am able to run ftpscrpt.com successfully from Microsoft SQL Server as a scheduled job. However, I've noticed that in running the job as windows user "x" the job will write transfer log failures to the "default" user folder instead of user "x" folder. For example, the trace log shows -
"Transfer log was saved at C:\Users\Default\AppData\Roaming\Ipswitch\WS_FTP\Logs\TransferReq2-00001.log"
instead of putting it in
"Transfer log was saved at C:\Users\x\AppData\Roaming\Ipswitch\WS_FTP\Logs\TransferReq2-00001.log"

What makes this behavior even stranger is that if I log into the Windows 2008 system as user x, the job starts writing errors to the correct location and it also starts sending email notifications that I had set up for failure too.

I started going down this road when I learned that ftpscrpt.com always exits with return code 0. Thus telling the system that the application was successful when in fact it had a connection or FTP failure. I suppose that is still true, but if not I'd be glad to hear about any change there.

Please help and let me know how to run ftpscrpt.com as a user other than "default", so failure logs go to the correct path and emails get generated.

Thanks!


Viewing all articles
Browse latest Browse all 551

Trending Articles