Upload a single video using api
Last post 05-13-2008 3:46 PM by Frogs69. 2 replies.
Sort Posts:
05-05-2008 2:48 PM
Upload a single video using api

Hi, i want to upload a single video using api, now all i was able to do was to upload a zip file using POST. I'm using the WebDAV_Clientdemo_CS but i'm not been able to upload a video without the zip. How can i do it??? Is there a way to do it whithout the zip???

Thanks

 Santiago
 

sleguiza

Joined on 05-05-2008
Posts 1
05-13-2008 1:23 PM
Re: Upload a single video using api

Hi,

I use the sample also and made some changes so I could upload a single file.

But even uploading a single file it wasn't put in the video's folder, it was put in the application's folder.

I've put a request here to see if anyone can help with that.

Let you know as soon as I get an answer.

If you want I can send you the sample with my changes.

 

Pedro

pimane

Joined on 05-13-2008
Braga, Portugal
Posts 4
05-13-2008 3:46 PM
Re: Upload a single video using api

See my blog post on http://dev.live.com/blogs/sls/archive/2008/04/11/266.aspx for the details about the SLS upload paradigm changes since launch.

Short story is that before, with the REST API, PUT would reference both the file set and the file name directly. Now, with the WebDAV API, we use POST only for the ZIP archive upload, and PUT for file-by-file upload, which requires to use MKCOL beforehand to create the detination file set.

Cheers.

Frogs69

Joined on 04-30-2007
Redmond, WA
Posts 207