Hi
I wonder if someone can offer some advice.
I have a recurring job that uploads a file via SFTP.
This code works perfectly when run locally, but once it is invoked via Hangfire the job completes but the file content is not uploaded - a zero byte file is created on the remote host.
I’m thinking it might be a threading issue but the logging I have added to the job doesnt give me any insight, there is no exception being raised and the synchronous file upload (the library is the latest version of SSH.Net via nuget but I can recreate the issue using Tamir SSH also) is executed without actually transferring the data.
I’d really appreciate any pointers.