Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Javascript
hi..


I have to upload files from asp.net site to skydrive.

my site will register to skydrive and internally we allow ours users to store their files to skydrive there should be only one account. but we need to differentiate them based on their company name and create different folders to insert files.does this work out....i am searching for this concept from long back. help me in this aspect....

Thanks in Advance...
Posted 10-Jan-13 0:10am
074051.1K
Edited 11-Jan-13 22:37pm
v6

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

LiveConnectClient client = new LiveConnectClient(session);
        var fileData = new Dictionary<string, object>();
        fileData.Add("name", "new_file.txt");
        try
        {
            LiveOperationResult fileOperationResult = await client.PutAsync("me/skydrive", fileData);
            this.infoTextBlock.Text = fileOperationResult.ToString();
        }
        catch (LiveConnectException exception)
        {
            this.infoTextBlock.Text = exception.Message;
        }

http://stackoverflow.com/questions/12891379/skydrive-file-upload-via-net-2-0[^]
  Permalink  
v2
Comments
07405 at 10-Jan-13 6:01am
   
does it needs any reference to be added? how can i login toupload files?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sascha Lefévre 485
1 Sergey Alexandrovich Kryukov 325
2 Maciej Los 240
3 Abhinav S 164
4 Peter Leow 120
0 Sergey Alexandrovich Kryukov 6,953
1 OriginalGriff 6,311
2 Maciej Los 2,732
3 Peter Leow 2,674
4 Abhinav S 2,562


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 12 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100