Monday, February 27, 2012 1:05 PM
In Metro app, there is SDK for uploading files to SkyDrive, that is LiveConnectClient.UploadAsync(...). However, since the metro app would be suspended by system, in order to upload file even the app is suspended, so I wish to use BackgroundUploader to do so. I found that only RESTful api might meet requirements of BackgroundUploader, that is it is http request:
Content-Type: multipart/form-data; boundary=A300x
Content-Dis name="file"; filename="HelloWorld.txt"
Is it possible for me to convert this POST RESTful api to BackgroundUploader, and could you please show me the SAMPLE CODE, or other solution available? Thanks a lot!
Tuesday, February 28, 2012 1:32 AMModerator
It looks like you should be able to use BackgroundUploader to upload to SkyDrive by setting the appropriate headers in the BackgroundUploader object. You should be able to get more information about the specific headers needed on the Live Connect Developer Center and forums.
- Marked As Answer by Matt SmallMicrosoft Employee, Moderator Wednesday, February 29, 2012 2:18 PM
Tuesday, February 28, 2012 7:48 AM
Hi Rob Caplan,
Friday, March 02, 2012 8:41 AM
Have you solved the problem? and what's the solution?
Friday, March 02, 2012 8:45 AMSorry... Have you any solution?
Friday, March 02, 2012 9:01 AM
No, I'm not.
I'm studing the new LiveSDK and SkyDrive these day, I wanna upload files to skydrive in backgroud.
I thought you had found the solution.
Friday, March 02, 2012 9:02 AM
I will try another way as follow:
Monday, March 05, 2012 5:37 AM是的，和ASUS也合作过呵呵