Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Live Connect API - Create Sub-Folders

I'm trying to create a sub folder using the Live Connect API for the Windows Phone 7.

I have successfully created a folder, but I would like to create a sub folder as well. I have been looking here: http://msdn.microsoft.com/en-us/library/live/hh826550.aspx but I have not been able to find a way to create a sub folder.

Is there a way to do it?

like image 595
webdad3 Avatar asked May 02 '12 02:05

webdad3


1 Answers

instead of calling client.PostAsync("me/skydrive", folderData);

call something like this: client.PostAsync(folderId, folderData);

You can obtain folder ID by calling list files/directories on skydrive.

Hope it helps

like image 62
luccio Avatar answered Oct 11 '22 15:10

luccio