This guide assumes you are using a Linux SFTP server for receiving files, and then uploading those files into an Azure storage account.
Install Azure CLI on the SFTP server with the following command:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Then login using an account with access to the storage account:
Perform File Migration
The next step is actually sending the files over to a storage account. For this example, we’ll send all of the files in a particular folder to the storage account.
az storage blob upload-batch -d YOUR_CONTAINER --account-name STORAGE_ACCOUNT_NAME -s DIRECTORY
Once those files are moved over, move them into a
sudo mv * /processed/