none
Push files to OneDrive RRS feed

  • Question

  • From: Manoj Singh @manojsingh187 via Twitter

    How Can i copy files from Windows Azure to OneDrive/Dropbox and also automate this Process. I want NO User interaction. 

    I am currently using Azure SaaS and i have files on Azure Storage.I want push this to Icloud,oneDrive .

    Thanks,

    @AzureSupport

    Friday, October 23, 2015 4:04 PM

All replies

  • If i can get an api or something by which i can push data into Cloud storage provided by different VMs like Windows , IOS etc. that it what i am looking for.

    Also i do understand this would require Authentication at every API CALL.

    OneDrive do provide API to create Files at OneDrive.

    Friday, October 23, 2015 4:30 PM
  • Hi Manoj,

        I could not find any examples for an API, However I did find a cmd line tool that you might be interested in.
        https://github.com/kpfaulkner/azurecopy
        http://blogs.msdn.com/b/cindygross/archive/2015/02/21/azurecopy-to-the-rescue-for-an-s3-to-azure-blob-copy.aspx
        
        You may also want to look at the below stackOverFlow threads.
        http://stackoverflow.com/questions/25715895/onedrive-rest-api
        http://stackoverflow.com/questions/29654177/accessing-onedrive-for-business-files-via-rest-api-in-something-other-than-a-ne
        
    Regards,
    Nithin Rathnakar
    Monday, October 26, 2015 4:16 PM
  • You can use PowerShell to fully automate.

    To learn how to copy files to OneDrive using PowerShell see http://www.powershellmagazine.com/2014/04/07/using-the-windows-live-apis-from-powershell/

    For a great article and script to do the heavy lifting for you see

    http://www.powershellmagazine.com/2014/04/07/using-the-windows-live-apis-from-powershell/

    You will need to merge this with how to copy files From Azure.

    You can find the script for that in the TechNet Gallery Downloading Files from Public URL Using PowerShell

    https://gallery.technet.microsoft.com/Downloading-Files-from-dcaaf44c


    Dan Stolts (ITProGuru)

    Monday, October 26, 2015 6:03 PM