Saturday, 15 December 2012

Skydrive WebDAV Access - Updated

Somehow there is very little information about WebDAV access to Skydrive, which is upsetting, because with 7GB (or 25GB, if you're lucky) of storage it becomes a very nice place to store your files.

Now, Microsoft officially claims Skydrive does not support WebDAV at all, which is sort of funny when you consider that it is exactly what the new Office 2013 uses to allow you to save your files there. Basically, when you save a document to Skydrive from one of the Office apps, it mounts your Skydrive account to a folder, saves a document there and then dismounts it.

Doing this yourself is very simple, and while some older tools (like Skydrive Simple Viewer or Skydrive plugin for Total Commander) don't seem to work, Office is going to help us.

First, connect enter your Skydrive account details in Office 2013 to enable all related capabilities.

Second, open any document, click Save As, select your Skydrive and click Browse. The following window should come up, showing the contents of your Skydrive.



All you need to do now is to click on the address bar and copy all its contents - this is the WebDAV address of your Skydrive account.

Now you can use this address in any WebDAV enabled application in any operating system. The simplest way to see if it works is to map a network disk in Windows. Use your Microsoft account email as username and your password when prompted.

Overall, WebDAV access might be a bit slow at times, but I find having direct access to my files very convenient for certain applications where Dropbox-like syncing might be an overkill.


UPDATE: Having to use Microsoft Office just to get your WebDAV address is highly inconvenient - for Linux users it means they have to have access to a Windows box. Fortunately, as I have just found out, there is a very simple way to get your Skydrive WebDAV address from any OS.

Just log in to your Skydrive web interface at skydrive.com, click your name in the top right corner and select "Edit Profile". When the page opens you should have a similar address in your address bar:

https://profile.live.com/P.mvc#!/cid-5190000000013e3c/




Now take the part after "cid-" (in this case "5190000000013e3c") and add it to the following address: "https://d.docs.live.net/". In our example it becomes:

https://d.docs.live.net/5190000000013e3c

And voila - here is your Skydrive WebDAV address. Again, you can try it out by mapping it as a network drive in Windows Explorer.


UPDATE2: Unfortunately, while the above solution works well in Windows and allows you to access your Skydrive via a mapped network drive, it doesn't seem to be possible to do the same in Linux.

Despite many efforts to mount Skydrive with davfs2 in Linux, I kept getting the "Found 302" error, meaning that the provided WebDAV URL redirects to another page. It turns out, davfs2 currently is unable to handle any redirects, which Skydrive (unlike many other WebDAV storage providers) uses. There is a related davfs2 bug that was filed over 2 years ago, yet it seems no progress has been made since.

Effectively, until this is fixed, there seems to be no way to access Skydrive via WebDAV in Linux.


UPDATE3: To be completely fair, it turns out it is possible to access specific folders of your Skydrive via WebDAV but only when using KDE's Dolphin file manager. This is made possible thanks to the fact that Dolphin uses Konqueror's (Rekonq's) cookies to establish a session, thus if you have previously logged to skydrive.com with Rekonq, it will use the same session and allow you to see your files.

To do that you have to log in to the Skydrive web-interface with Rekonq, open a folder you want to work with and note it's number in the browser's address bar. The number will be the digits after the "!" in the address. Now, insert the following addres in Dolphin's address bar and you should instantly see your folder and work with it normally:

webdavs://cid-5190000000013e3c.users.storage.live.com/items/5190000000013e3c!12345/

In this example "5190000000013e3c" is your ID we've found in the steps above and "12345" is the folder number.

Unfortunately, this only works in Dolphin and you can only work with one folder at a time.

40 comments:

  1. Wow. I've just tested it and IT WORKS!!! Thank you very much and cheers from Spain.

    ReplyDelete
  2. Hi, if you change the .net to .com, then you can get rid of the 302 error. however a secondary error appears where it says the server is unreachable. why is this

    ReplyDelete
    Replies
    1. Hi, thanks for the response.

      I guess the reason is that live.com is a different web site than live.net.

      Basically, there is no Skydrive access at live.com, that's why you don't get the 302 error (which means that Skydrive is there, but can't be accessed), but rather an error saying there is no WebDAV interface at that address at all.

      Delete
  3. Thanks for your investigation. Yes, I am also having 302 error on Linux. There's no webdav client that supports redirection?

    ReplyDelete
    Replies
    1. Hi Nanni, thanks for the comment.
      No, I'm afraid there are no WebDAV clients for Linux that support redirection at the moment, at least not to my knowledge.

      Delete
  4. Works fine on windows XP. Thanks for the tip. For those who might be interested, you can map a webDAV folder to a drive letter even with https, using the stunnel SSL encryption wrapper. Detailed instructions are provided here. A nice alternative is to use carotDAV, a program based on the .NET framework with built-in support for google drive,skydrive and box plus webdav support.

    ReplyDelete
  5. Simply amazing! I came here looking for a way to replace the deprecated functionality with publishing calendars to Office.com. Outlook still supports WebDAV and I was able to successfully publish my calendar (and secure it with my LiveID) the exact same way it did before. Thank you!

    Also, I am currently looking for a "simple" way to share the calendar (i.e. document) from SkyDrive using the public view links. I traced the redirect using Chrome Developer Tools and was able to import the ICS calendar without credentials. So far I have been successful in both WebDav publishing and public downloading of the calendar.

    Thanks again!

    ReplyDelete
    Replies
    1. Thanks for your comment, I'm glad to see this old post can still be helpful.

      Delete
  6. Still helpful :)
    Just used it to mount OneDrive folders through Dolphin on KDE.
    Works great.
    Thanks,
    Carlos

    ReplyDelete
  7. Thank you very much, it is working perfectly with OneDrive : Dolphin 4.14.1, rekonq 2.4.2, KDE 4.14.1 on Ubuntu 14.10 32 bits
    I am using the two-step verification for my OneDrive account
    I can navigate and download files into subfolders too :-)

    ReplyDelete
    Replies
    1. I am the same person as the post at 11:31.
      I discovered a way to show hidden folders of OneDrive, system files. I just entered the folder number 0 : XXXXXXXX!0
      Now I can navigate into "AppStorage", "GhostItems", "LiveFolders" (the root of OneDrive which contains all personal folders), "MyFiles","powerpoint","PrivateMessaging","SkyDriveCache","SUP","virtualearth","WAC","windows"(settings backup for Windows 8 and Modern Apps),"WLHomepage", and finally "WLSocialNetworking". I can see everything with Dolphin and i can open files :-)

      Delete
    2. Hi, thanks a lot for verifying that this method still works and especially for the information about hidden folders, it makes accessing SkyDrive even more useful.
      Also, happy New Year!

      Delete
  8. Replies
    1. I'm sorry, I don't own a Mac so can't be of help here.

      Delete
  9. Perfect, great.

    Any idea, why windows is loosing/forgetting the username+password combination every couple of weeks, even if you activate the checkbox "save" when entering the credentials?
    Or its just a bug....

    ReplyDelete
    Replies
    1. Sorry, haven't really used Windows in quite a while, so I wouldn't know what might be the issue here.

      Delete
    2. There is an registry change for that, that allows you to set it up to 10 years. It's under HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Internet\Server Cache
      Do New on the Edit menu, and then click DWORD Value. Enter NumWeeksToCache, and then Modify. In the Value data box, type the value that is between 1 and 520. Also consider adjusting the MaxCount setting of the server cache to increase the maximum amount of entries.

      Delete
  10. May I just say what a comfort to discover a person that genuinely knows what they are discussing on the net. You actually realize how to bring a problem to light and make it important.tech A lot more people need to check this out and understand this side of your story. I was surprised you're not more popular given that you certainly have the gift.

    ReplyDelete
  11. The feedback can be considered as a step towards improvement as a means to achieve enhanced customer satisfaction. Salesforce interview questions and answers

    ReplyDelete
  12. หาคุณกำลังหาเกมส์ออนไลน์ที่สามารถสร้างรายได้ให้กับคุณ เรามีเกมส์แนะนำ เกมยิงปลา รูปแบบใหม่เล่นง่ายบนมือถือ คาสิโนออนไลน์ บนคอม เล่นได้ทุกอุปกรณ์รองรับทุกเครื่องมือ มีให้เลือกเล่นหลายเกมส์ เล่นได้ทั่วโลกเพราะนี้คือเกมส์ออนไลน์แบบใหม่ เกมยิงปลา

    ReplyDelete
  13. If you are looking for an honest site, UFA, UEFA Bet casino site. Which may be played as an extensive answer, able to answer Quality and Performance It's best to have a great deal of the issues. It can certainly be a thing quite hitting & intriguing. Excellently, the items that UFABET football betting is not even with the experience of quality. And availability that are able to see effects It's a model that is rather clear and diverse. Filled with operation of making money Attractiveness With the best possibilities it's really nothing You can find probabilities and opportunities for earning money. Quality and pretty varied For those who have arrive at make use of the program excellently.บาคาร่า
    ufa
    ufabet
    แทงบอล
    แทงบอล
    แทงบอล

    ReplyDelete
  14. อย่างไรก็ตามในการเล่นเกมส์คาสิโนออนไลน์หรือการเดิมพันออนไลน์ชนิดต่างๆคุณจะต้องให้ความสำคัญในเรื่องของการเลือกเว็บคาสิโนออนไลน์เลือกเว็บเดิมพันออนไลน์ที่คุณจะใช้บริการให้ดีคุณจำเป็ สล็อต นที่จะต้องศึกษาและหาข้อมูลเกี่ยวกับเว็บก่อนที่คุณจะตัดสินใจใช้บริการเพื่อความปลอดภัยในการใช้บริการของคุณและเพื่อประโยชน์ในการใช้บริการเว็บที่คุณจะต้องใช้บริการไปอีกนานถ้าคุณใช้บริการเว็บที่ให้บริการที่ดีคุณก็จะมีความสะดวกสบายในการใช้บริการเว็บคาสิโนออนไลน์หรือเว็บเดิมพันออนไลน์ต่างๆ

    ReplyDelete
  15. One of the most common questions is the cost of hiring a bodyguard or close protection officer. The rates will vary depending on security chauffeur
    if you require our service just during the day or for a 24/7 period. We usually charge an hourly rate plus a charge for any vehicle usage.

    ReplyDelete
  16. Such a nice blog. You are really sharing valuable information to your audience. Hey travelers! I hope you are doing well. Turkey visa for Indian passport is easy to obtain with the help of an online visa process which is easy and hassle free.

    ReplyDelete
  17. Pandora Music MOD APK is a great music streaming service app developed by the Pandora developers team that provides personalized music. Pandora 1.APK

    ReplyDelete
  18. A Cambodia visa is a travel document that allows foreigners to enter Cambodia for a limited period. The type of visa required will depend on the purpose of the visit, such as tourism, business, or study. The application process and requirements may vary depending on the country of origin and the type of visa required. It is important to check the visa requirements and application procedures well in advance of the planned travel dates to avoid any delays or complications. Additionally, travelers should ensure they meet all the necessary entry requirements, including valid passports, visas, and any required vaccinations.

    ReplyDelete
  19. The Ancient Towns of Vietnam - Vietnam is a country with a rich cultural heritage and a long and storied history, and its ancient towns offer visitors a glimpse into that past. Hoi An, for example, is a beautifully preserved trading port that dates back to the 15th century. The town's historic architecture and rich cultural traditions make it a UNESCO World Heritage site and a popular tourist destination. Meanwhile, Hue, the former imperial capital, is home to ancient temples, tombs, and palaces that offer visitors a glimpse into Vietnam's royal history. Exploring these ancient towns is a must for anyone interested in Vietnam's rich culture and history.

    ReplyDelete
  20. Good morning everyone, Resuming its aerial connection, Turkish Airlines relaunches flights to Saudi Arabia. This pivotal step not only strengthens bilateral ties but also rekindles travel possibilities for individuals and businesses alike.

    ReplyDelete
  21. Hello! I wanted to express my gratitude for the valuable information shared on your blog. Your dedication to providing in-depth insights is truly commendable. Saudi Arabia Visa for Greece Citizens: Greek citizens can experience Saudi Arabia's unique blend of tradition and modernity. Explore visa prerequisites, application guidelines, and essential tips for a memorable trip.

    ReplyDelete
  22. Hii everyone, Navigating your way to the rich cultural tapestry of Azerbaijan has become simpler with the eVisa system. Discover the convenience and simplicity of obtaining an eVisa for Azerbaijan, including essential information about the eVisa Azerbaijan cost.

    ReplyDelete
  23. Wonderful , really it is a very helpful post. I heartily appreciate your efforts and I will be waiting for your further posts. Thank you once again. Singaporean citizens can easily apply for an Indian e-Visa for tourism, business, or medical purposes. India e Visa for Singapore Citizens. The application process is straightforward and online. Prepare your required documents, pay the fees, and await processing, which is typically swift. Ensure eligibility and follow the guidelines before applying. Enjoy your journey to India!

    ReplyDelete
  24. Obtaining a Turkey visa from Nepal is a vital step for Nepali travelers seeking to explore Turkey's rich cultural heritage, mesmerizing landscapes, and historical marvels. This process ensures that Nepali passport holders can embark on their Turkish adventures with ease. Travelers from Nepal can apply for their visas through the Turkish consulate or embassy in Nepal, adhering to the necessary documentation and procedures. Alternatively, the convenient e-Visa system offers a streamlined and user-friendly application process, simplifying travel planning to Turkey. With the appropriate visa, Nepali adventurers can immerse themselves in the enchanting experiences that await them in Turkey, creating lifelong memories.

    ReplyDelete
  25. Great post! Your insights are valuable, and I appreciate the information you've shared. Keep it up! If you're planning a visit to Azerbaijan, it's essential to consider the Azerbaijan e visa cost. The fee varies depending on your nationality and the type of e-visa you need. Be sure to check the latest pricing and payment methods. Keep in mind that costs may change over time, so staying updated is crucial for a smooth travel experience.

    ReplyDelete