Timeline for Upload file into sharepoint document library using REST
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2020 at 5:52 | comment | added | F11 | Browser is crashed if file size is around 100MB + as soon as POST method is sent from addFileToFolder is called | |
Sep 25, 2015 at 5:49 | comment | added | Looytawon | var url = String.format( {0}/_api/Web/Lists/getByTitle('Documents')/RootFolder/Files/Add(url='{1}', overwrite=true)", shptService.hostWebUrl, fileName); where shptService.hostWebUrl is 'domain.sharepoint.com/Documents' but i'm having then the 403 forbidden error . | |
Sep 25, 2015 at 4:28 | comment | added | Atish Kumar Dipongkor | yes you can upload from sub site to root site. in that case you url should be 'domain.sharepoint.com/Documents'. You can run your application from anywhere...... it does not matter. only the url matters | |
Sep 25, 2015 at 3:32 | comment | added | Looytawon | I figure out what's the problem. now this.... the document library where i want to upload the files is located at this a specified site 'domain.sharepoint.com/Documents/Forms/AllItems.aspx' and i'm running my application at 'domain.sharepoint.com/myapp' there's no problem when i tried to upload the files on the domain.sharepoint.com/myapp/Documents' now the issue is how to upload files at that site above using your code.. | |
Sep 24, 2015 at 16:13 | comment | added | Atish Kumar Dipongkor | what is is the actual error? show whole error message over here. reason could be the URL you are posting your data. Show your code in your question | |
Sep 24, 2015 at 15:30 | comment | added | Looytawon | I'd tried already this code but it returns this problem : 403 (Forbidden) | |
Sep 24, 2015 at 9:13 | history | answered | Atish Kumar Dipongkor | CC BY-SA 3.0 |