How to connect remote SFTP from Azure web site scheduled job
问题 I have one console app which will be scheduled as job in AZURE web site. From that console app I want to connect remote SFTP and get all files and save them in my folder inside AZURE web site.Also if it possible remove them from SFTP after transfer. 回答1: First of all best and free option to use in this case is WinSCP .NET assembly. You can download it from here So lets start this is the function: public static void GetSftp(string host, string user, string password, int port, string source,