Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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)


Topic review


WinSCP fails to run as a WebJob on Azure App Service

I've developed a .NET console application to run as a WebJob under Azure App Service.

This console app is using WinSCP to transfer files from App Service Filesystem to an on-prem FTP Server.

1- An Exception is being fired intermittently on ALL of our Azure environments (Dev, Test, Prod)
2- The connectivity between App Service & the on-perm FTP server is Okay.
3- Most of the time the job succeeds ,the files are synced, and log files written as well.
4- Sometimes, the job fails, no files synced, and no Log is NOT being written as well.

WinSCP process terminated with exit code -1073741819 (C0000005). There was no output. Response log file D:\local\Temp\wscp550C.03E988EE.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.

Any clues?