locked
checking folder existence in skydrive with LiveSDK RRS feed

  • Question

  • hi to all

    i successfully created a folder in skydrive by using windows live SDK.. 

    Now i want know to check whether one particular folder is existing or not in sky drive..

    How can i check this in sky drive...

    for ex...

    i already created a folder with the name of "TestFolder" Now i want to check the folder "TestFolder" existing or not in skydrive through my application..

    Please help me on this...


    Bharathi Gurusheve


    Bharathi Gurusheve

    Thursday, April 12, 2012 6:33 AM

Answers

  • Once you have the folder ID, try a GET on /<folder id>/files.
    Tuesday, May 8, 2012 11:22 PM
    Moderator

All replies

  • Would it work to do a GET on me/skydrive/files and see if that folder name comes up in the list?

    • Proposed as answer by Sam Jost Wednesday, June 20, 2012 1:00 PM
    Thursday, April 12, 2012 4:17 PM
    Moderator
  • did you figure this out? i did a get with me/skydrive/files - i get information for example the id of the folder, and name, and count (number of files/folders in folder), but nothing where i can access those files or folders.
    Tuesday, May 8, 2012 11:04 PM
  • Once you have the folder ID, try a GET on /<folder id>/files.
    Tuesday, May 8, 2012 11:22 PM
    Moderator
  • Seems this is the only way to do this.

    Thanks!

    Wednesday, June 20, 2012 1:00 PM
  • Can't you just do it without the "files" and see what you get back? Looks like they both work but both are slow .5-1 seconds. Anything faster?
    Wednesday, May 21, 2014 7:29 PM