This is an old revision of the document!

Documentation » Using WinSCP » Guides » Cloud Computing »

Connecting securely to Microsoft OneDrive with WebDAV

With WinSCP you can easily upload, manage or backup files on your Microsoft OneDrive cloud storage over WebDAV protocol.

Before starting you should have the latest version of WinSCP installed.

Advertisement

Connecting

Find out your “OneDrive customer ID”:

  • In your web browser, login to your OneDrive.
  • After you log in, your URL should be like:
    https://onedrive.live.com/?id=root&cid=ABCDEFGHIJKLMNOP
    The ABCDEFGHIJKLMNOP part is your “customer ID”. Select it and copy it to the clipboard.

Start WinSCP. Login dialog will appear. On the dialog:

  • Make sure New site node is selected.
  • On the New site node, select WebDAV protocol and TLS/SSL Implicit encryption.
  • Enter d.docs.live.net into the Host name box.
  • Enter your Microsoft account username/email into the User name box.
  • Enter your Microsoft account password into the Password box.
  • Press the Advanced button to open Advanced site settings dialog and go to Environment > Directories page.
  • Paste your “OneDrive customer ID” into the Remote directory box and add a slash in front of it, i.e. like /ABCDEFGHIJKLMNOP.
  • Submit the Advanced site settings dialog with the OK button.
  • Save your site settings using the Save button.
  • Login using the Login button.

Further reading

Advertisement

Last modified: by martin