locked
OneDrive upload multiple files ? RRS feed

  • Question

  • Hello,

    It is possible to upload multiple files in onedrive(skydrive) using WL.upload ? I tried something but I always get an error like "element must be an html input element" or something like this.

    Thanks.

    • Moved by Fred Bao Friday, December 12, 2014 3:16 AM Not a .net framework issue
    Thursday, December 11, 2014 7:16 AM

Answers

  • Hello Calin,

    Not sure if you are developing with the OneDrive API, if it is you could post this issue to OneDrive development forum:

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=onedriveapi

    Or if you using this API with a web application, you could post it to:

    http://forums.asp.net/

    The current forum you posted to is used to discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 12, 2014 3:16 AM

All replies

  • Hello Calin,

    Not sure if you are developing with the OneDrive API, if it is you could post this issue to OneDrive development forum:

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=onedriveapi

    Or if you using this API with a web application, you could post it to:

    http://forums.asp.net/

    The current forum you posted to is used to discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 12, 2014 3:16 AM
  • Hi Fred,

    Thanks for advice. I posted the question on those forums.

    Thanks again.

    Regards.

    Friday, December 12, 2014 8:00 AM
  • Forums are showing answered posts as "proposed answers"

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Monday, December 29, 2014 3:56 PM
  • Hello Calin.

    I wrote a PowerShell module to work with OneDrive via PowerShell. With this module you can easily upload a file with:

    Add-ODItem -AccessToken $AuthToken -Path "/Data/documents/2016" -LocalFile "AzureML with PowerShell.docx"

    And with a simple loop or foreach you can upload multiply files. If you need a sample for this, write me a mail.

    Documentation: https://www.sepago.com/blog/2016/02/21/Use-PowerShell-Module-OneDrive-from-PowerShellGallery-command-line

    Marcel

    Friday, February 26, 2016 8:40 AM