0
votes
1answer
62 views

Copy a file from the RootSite to a SubSite

I'm trying to add a file from a Rootsite to a SubSite using REST API. There some code: $.ajax ( { url : _spPageContextInfo.siteAbsoluteUrl + "/_api/web/getFileByServerRelativeUrl('" + selected + ...
3
votes
0answers
242 views

How to add items to a document library when uploading a file using Rest in SP 2013?

I am trying to add file to document library by using REST IN SP 2013 APP MODEL. This is my code I can upload file to document library but I can't add items value to that document library in fields ...
3
votes
1answer
327 views

SharePoint REST POST to upload file produces corrupted or empty file

I've got this jquery/REST process that I thought was uploading a PDF file to SPO 2013 Document library, but it's only producing an empty or corrupt. Anybody know why? function ...
0
votes
0answers
87 views

File Extension for Video files is removed when Uploaded to Library

This is my first question on StackExchange, hope to contribute more in the days to come. Currently I am facing this issue: when a user uploads a video file (e.g. AVI/WMV) to a particular Asset ...
2
votes
1answer
117 views

Edit Properties does not open when uploading document

I was under the impression that if you have a column with a required value, the dialog "Edit Properties" should be displayed automatically when trying to upload a file. I distinctly remember seeing ...
1
vote
0answers
359 views

Upload: library file size limit?

I have SharePoint Server 2010, account on Office365 and iOS app. I need to upload 100KB, 500KB, 5MB, 50MB files on server via HTTP (not browser). I've successfully uploaded 100KB to my SP via HTTP ...
1
vote
2answers
518 views

FileUpload Control in Sandbox solution

FileUploadControl.HasFile always returns false. When I tried using HttpFileCollection HttpFileCollection files = Request.Files; after adding System.Web Namespace it says 'Request' does not exists ...
2
votes
1answer
1k views

Custom file upload in sandbox

I have a custom web part in a sandbox solution. Inside of the web part I have added an <input type="file" />. Upon postback I read the file using HttpContext.Current.Request.Files and save the ...