FTP to Blob

FTP to Blob

·

1 min read

Had a story to copy hundreds of files from a Secure File Transfer Protocol (SFTP) server to an Azure Storage Account blob store. Used WinSCP to get the job done since it allows for automation through it's dotnet assembly.

Here is a Powershell script that loads the assembly and uses Azure CLI to batch-upload blobs to a specified Storage Account.