Re: SFTP file transfers in Microsoft Azure Function "Cannot use /home/site/wwwroot/WinSCP.exe"
I looks like you are trying to use WinSCP on Linux, aren't you? Make sure your Azure function runs on Windows.
Cannot use /home/site/wwwroot/WinSCP.exe