none
How to upload files to Azure Blob Stotage like FTP?

    Question

  • Hi there folks,

    I am able to upload files from my ffmpeg app to FTP using this path:

    ftp://[user:password]@server[:port]/MyFolder/video/video.flv

    How do I achieve the same thing in Azure Blob?

    I have tried this path in Azure:

    https://<account-name>.blob.core.windows.net/video/video.flv /DestKey:<account-storage-key>

    But that doesn't seem to work. TCP connection shows the app is making connection with Azure account remote address 104.208.XXX.XX and remote port 443. However, it drops the connection and starts repeating attempts over and over. It will then time out after countless attempts and crash the app. I have also tried <http://> without success. Same thing happens. It attempts connecting to remote address and port 80.

    The FFMPEG app has full access to firewall ports and the app communication shell show files are published without errors. System is a Server 2008 R2 unit on-site, not VM. Your help is much appreciated.

    Thanks a lot!




    Monday, January 25, 2016 4:01 PM

Answers

  • Here you go, I posted these to your other topic as well. If you are of the developer type then you can also take advantage of the SDK to write your own interface to do this for you.

    PowerShell Method: https://msdn.microsoft.com/en-us/library/dn749825.aspx

    AzCopy: http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx

    SDK route, download language specific SDKs here: https://azure.microsoft.com/en-us/downloads/

    Monday, January 25, 2016 9:13 PM
  • Hi!

    You can create a very simple C# client to upload and download and upload any file to your blob. You can check this code sample:

    https://code.msdn.microsoft.com/Azure-Blob-Upload-0cb6a42f

    Friday, January 29, 2016 3:52 PM

All replies

  • It is not possible in that way. You need to use upload app (own, PowerShell, Azure CLI, 3rd party).
    Monday, January 25, 2016 4:19 PM
  • Thanks for the response!

    Yes, I can agree with that because I have exhausted all addressing string combos I can imagine, including UNC. However, what surprises me is that TCP connections confirms that IT IS contacting the blob endpoint. I can see the stream populate to the top of TCP connections list in Server Resource Monitor and then die off, only to resume again. I still hold out hope it has to do with my address path/structure. So there is no addressing structure that targets Azure Blob storage directly?

    I have tried several 3rd party options but discovered that intermediary upload apps dropped frames and the rest where just explorer type interfaces.  I am currently exploring my own solution, but is there any specific PowerShell or Azure CLI solution you could point me to? I've been living online for days, looking for solutions to this, with a very very unhappy client down my back. Thanks again!




    • Edited by CG-Guy Monday, January 25, 2016 9:05 PM
    Monday, January 25, 2016 8:58 PM
  • Here you go, I posted these to your other topic as well. If you are of the developer type then you can also take advantage of the SDK to write your own interface to do this for you.

    PowerShell Method: https://msdn.microsoft.com/en-us/library/dn749825.aspx

    AzCopy: http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx

    SDK route, download language specific SDKs here: https://azure.microsoft.com/en-us/downloads/

    Monday, January 25, 2016 9:13 PM
  • Awesome! Thanks a lot Theo!!
    • Edited by CG-Guy Monday, January 25, 2016 10:05 PM
    Monday, January 25, 2016 9:27 PM
  • Hi!

    You can create a very simple C# client to upload and download and upload any file to your blob. You can check this code sample:

    https://code.msdn.microsoft.com/Azure-Blob-Upload-0cb6a42f

    Friday, January 29, 2016 3:52 PM
  • Thanks Ghassan! This will come in very useful in my quest. Apparently the app that I'm working with has a .NET framework from the developer. I guess the challenge now is to find the most efficient way to plug thiat into the Azure SDK, that way I can upload files straight from to app to Azure.

    Thanks again for the suggestion.

    Monday, February 1, 2016 7:54 AM