0 votes
by (120 points)

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.

1 Answer

0 votes
by (147k points)

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.

...