Can you provide sample code to create an SFTP server as an Azure Function (using C#)?
I know I could do it using IaaS, but we'd like to minimize costs and provide scalability, so using an Azure Function seems very appealing.
SFTP server functionality is provided by Rebex File Server component. Rebex SFTP is client-side.
However, I am afraid that Azure Functions are not really a suitable way of running 'classic' services such as SFTP/SSH. In theory, it might be possible to somehow fit this into Azure Functions architecture (so that an SFTP session becomes a serverless function), but SFTP is actually a simple remote file system protocol and that just doesn't seem like a good match.
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
If you need immediate assistance, please contact us directly.