0
votes

I want to my exe connect to remote SFTP and dowload file from there.

In normal server I have used WINSCP everything was okay .

In Azure it is not working.

Any advice about what to use thanks

1
Is this an Azure VM?Anthony Horne
nope it is azure web site.I have just create scheduled job inside it which every 15 minutes calls my console application.from that application i trying to connect to remote sftpRASKOLNIKOV
I have read that you should consider using Service Bus or Queue Storage Service to exchange messages with your application. Azure and NAT is likely to create problems.Anthony Horne
hmm we are talking different things.RASKOLNIKOV
what is not working ? you tried packing WINSCP as part of your job and it is not working? Also is the SFTP you trying to connect using a valid certificates which have no issues in the entire chain (I suspect that self-signed certificates would cause issues with certificate validation)astaykov

1 Answers

0
votes

"Not working" is very vague. Please be more specific to get better answers.

Anyway, you maybe using an old version of WinSCP. Make sure you use the very latest WinSCP. There were issues with older versions of WinSCP, when running in the restricted Azure environment.

See also SFTP/FTPS file transfers in Microsoft Azure WebJob.