We are currently in the process of migrating old user data which is stored on one of our dedicated servers or locally on a ionic mobile application to Azure (or both). We have completed the migration of basic table data as well as images which are located on the device. The problem we are experiencing is transferring images from the old dedicated server to Azure Blob Storage WITHOUT downloading the image to the device before uploading (due to data usage concerns).
USE CASE:
1) User logs into the updated mobile app/website.
2) User data is moved from old server to Azure in a "sync" step.
3) All local images are uploaded to Azure blob using SAS query string generated by Azure.
4) All images that no longer exist locally need to be moved to azure blob storage from the dedicated server
PROBLEM:
Is it possible to move these files without downloading them to the device first and then uploading them. The current system is a VB.NET MVC application. I have seen references to the Azure Blob Storage SDK but from what I can see it is only available as a C# library.
CURRENT IDEAS:
1) Build a C# application that uses the Storage SDK to copy files to blob storage. Not sure how you would use the SAS query string in this case. Also how to monitor the status of the uploads and relay back to the app/website?
2) Download images to device first and then upload normally using SAS query string
Any help or suggestions would be greatly appreciated. Thank you for your time.