Questions tagged [file-upload]

sending of data from a local system to a remote system that should store a copy of the data being transferred

Filter by
Sorted by
Tagged with
3
votes
0answers
2k views

Uploading image using java HttpURLConnection (Rest service)

we are trying to post an image to a sharepoint 2013 object library. We only get System.ArgumentNullException no value for parameter '{0}' Parametername: parameters.Url from the server. Can anybody ...
3
votes
2answers
7k 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 ...
3
votes
2answers
2k views

Uploading a file to a specific directory within a Document Library using CSOM

I currently have a Desktop application that is able to upload a file to the root directory of my "Documents" Document Library on the Sharepoint Site I am using. This is done with the following code; ...
2
votes
2answers
5k views

Url Length Limit when uploading SharePoint 2013 Online/OneDrive for Business

I'm working on a Winform application which allows a user to upload documents to Onedrive for Business. Essentially you select a folder you want to upload, this creates all of the folders and then ...
2
votes
2answers
16k views

upload to document library subfolder in client object model

I'm using the Client Object Model to upload files from a network drive to a SharePoint document library. Here is how I would specify the upload location if I were uploading to the document library's ...
2
votes
3answers
7k views

Mandatory File Attachmant

I want to make file attachments mandatory in a list. Every new element should have an attachment. Therefore I used a content editor webpart with following sourcecode: <script type="text/javascript"...
2
votes
1answer
12k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
2
votes
3answers
12k views

How do I prevent users from uploading documents?

Users should only be allowed to add documents (MS Word) by creating a new one based on the the document library's content type. They should not be able to upload. This will ensure that every document ...
2
votes
1answer
4k views

Upload file into doument library and update the metadata using PowerShell

How to upload the file into the document library and insert/update the metadata columns.I am having 3 people picker data types/user group columns and one choice field and 2 single line of text ...
2
votes
4answers
4k views

Uploading multiple files with metadata

We want to upload many files from our file server to SharePoint2010. We want to add the metadata within, or before the upload. Can somebody give me a good advice on how to handle that this? Is there ...
2
votes
2answers
1k views

Excel file corrupted after uploading to Sharepoint with Python

Similar to this question I'm having trouble opening a file uploaded via Python onto SharePoint. This is the code I'm using to upload the file: import requests from requests_ntlm import HttpNtlmAuth ...
2
votes
2answers
7k views

RegEx to validate and replace invalid file name characters from a custom web part file upload control

Scenario: I have a fileupload control in my custom webpart that attaches the uploaded files to the list item. The attachment code is given below: private void UploadAttachments(Helper ...
2
votes
1answer
13k views

PowerShell: Upload documents to folder in document library

I'm using SharePoint Foundation 2010. I have to make a PowerShell script that copies a structure found on a network share. Its all good except for one thing... I know how to make Document Library's ...
2
votes
1answer
2k views

Why am I still getting quota reached upload error after increasing the quota for a site collection?

A user was trying to upload documents to their site collection and reached the quota limit. I increased the quota for him but he is still getting the same error that the quota has been reached when he ...
2
votes
1answer
806 views

Authenticate from PowerShell and create a folder

I want a script that authenticates and then create a folder. I am not performing the upload from my local machine. It is happening from a continuous integration server so it needs to authenticate. ...
2
votes
3answers
5k views

Best way to change content type on a existing file in a document library

When you drag and drop single / multiple files into a document set / library, SharePoint just add values to the required fields and a check the file out. I've tried to use quick edit but it does not ...
2
votes
1answer
4k views

Using chunked upload/StartUpload with sharepoint REST api

I want to upload large files to SharePoint Online but I am unable to use chunked upload of sharepoint REST API. I would like to see a working example. The api is described in here using the methods ...
2
votes
1answer
782 views

Unable to upload document in library in SharePoint 2013 using iPhone 6

In SharePoint 2013 document library, I am unable to upload document using iPhone 6. File Upload document button is disabled and Add New Document button is not available in the Document Library. Is ...
2
votes
2answers
2k views

How to limit the file upload size for a specific document library in SharePoint 2010?

I want to limit the file upload size for a specific document library in SharePoint 2010. I do know that the upload size is for the entire web-application rather than a specific site/sub-site/library. ...
2
votes
2answers
6k views

running SharePoint utility on non-SharePoint server

I wrote a utility in C# to copy files from a network directory to a SharePoint document library. When the sys admin tries to run the .exe from a non-SharePoint server, he gets the following error: ...
2
votes
2answers
7k views

How to upload a file in survey or custom list?

I want my users to upload a document. I know we can use doc library to upload docs. But Is there any way of providing a field to upload a file in SharePoint survey or custom list?
2
votes
1answer
519 views

Checkbox uncheck in document upload form for specific library

I want to change the behavior of the document library upload form i.e. it should appear unchecked when the user uploads the document in library. I searched over the internet and found this which ...
2
votes
1answer
2k views

Bulk Upload from Fileshare to SP 2013 with Metadata

I have found a powershell script to upload multiple files to a document library in SharePoint 2010 however I am using the 2013 version. Would this still work? Link to script : http://www....
2
votes
3answers
7k views

event receivers and execution order

I am using some of these such as ItemAdded and ItemUpdated and I had altered the elements file to make this synchronous. I'm just curious as to what the order of execution is for all these handlers. ...
2
votes
1answer
889 views

How to upload an XDocument to a document library without a local hard drive path?

I have seen code such as: String fileToUpload = @"C:\YourFile.txt"; String sharePointSite = "http://yoursite.com/sites/Research/"; String documentLibraryName = "Shared Documents"; using (...
2
votes
1answer
1k views

How to create upload page in SharePoint Online?

Hello I would like to how can I create this in SharePoint Online ? Img1 Img 2
2
votes
2answers
2k views

Problem uploading files from Mac

A couple users has reported that they are having issues uploading files to a SharePoint Document Library. Both of them are using Mac. I have had both of them try Chrome and Safari to ensure it is not ...
2
votes
3answers
940 views

Desktop applications for uploading files to SP 2013 and adding Metadata?

Are there desktop client applications from Microsoft for MS Windows 7 which allow the user to upload files in SharePoint 2013 add/modify their Metadata?
2
votes
3answers
15k views

Why can't I upload video to library?

I created a Site Assets library in SharePoint Designer as I need to upload some videos to SP. Most of the are WMV and some are MP4. I have no issues uploading the video, except for one. Its a WMV ...
2
votes
2answers
2k views

ItemAdding not firing when “Overwrite existing files” is checked for SharePoint Document library

I need to copy Existing file to A folder("Archive") while another file is uploaded with same file name to the document library. Ex I already have a filename "example.txt" in a document library. Now ...
2
votes
4answers
2k views

How to Upload File to Virtual Directory?

Salvete! Is there a way in Sharepoint to have a file be uploaded to a location in a custom virtual directory instead of sharepoint? I have about 120 users, all of whom need to deliver to our server ...
2
votes
1answer
532 views

Performance bottleneck on SharePoint upload method

Trying to eliminate a performance bottleneck on a method doing file and metadata uploads. According to the profiler on a line-by-line of the decompiled code, the majority of time is spent on context....
2
votes
3answers
231 views

Sharepoint Problems: Modifying Uploads?

We've noticed that some of our files have been modified by Sharepoint when uploading - specifically HTML files. Is this common / has this happened to anyone else? Is it specific to only a certain ...
2
votes
4answers
2k views

Unable to upload a file

User 'X' is the site-collection owner. He tries to upload a 750kb file into a document library and gets the error: The server has aborted your upload. The files selected may exceed the server's ...
2
votes
2answers
2k views

Web Part with its FileUpload control causing “Webpage has expired” Error !

My problem precisely and concisely is that I developed a web part which contains a FileUpload control and the web part in general works correctly except for one issue. Whenever I use the web part then ...
2
votes
1answer
748 views

Document library - “New” vs. “Upload”

I am running into an issue where clicking the "new" option in the document library header opens the same dialog as clicking "upload". A similar question was asked here, What's the difference ...
2
votes
1answer
1k views

How to upload large files through SharePoint Rest API (Cross Domain Call)

I am trying to upload large files greater than 10MB(Ex: 40 MB) through SharePoint cross domain Rest API calls. I am able to upload files that are upto 10MB using the code below. But when it comes to ...
2
votes
1answer
770 views

Rest Api File Upload with version comments

Is there an api to upload a file along with Version Comments? When I upload a file through the SharePoint portal, the file upload popup also provides a text box to include version comments if needed. ...
2
votes
1answer
4k views

uploading a file to sharepoint using your phpSPO library

I saw from one of your previous post that you are an author of phpSPO. I came across your phpSPO library earlier this month while trying to access sharepoint by php. I went through your GitHub and ...
2
votes
1answer
4k views

Uploading a file to a library with curl - how do you also update the column values

I'm able to upload files from linux to sharepoint using something like this curl -u "Domain\Account":'Password' --ntlm -k -T report.xls https://portal.company.com/test_site/test_doc/ I would ...
2
votes
1answer
64 views

Changing multiple upload text

Just wondering if anyone knows if it is possible to change the text SharePoint 2010 presents when you select the upload multiple documents. Currently it says: “Drag Files and Folders here” I would ...
2
votes
1answer
1k views

warning of duplicate item while uploading file in document library

I have a standard document library. I want to prompt the user if file name already exists in document library. I want this Friendly Error (with custom error text) on "Upload Document" form when when ...
2
votes
1answer
108 views

How to add files manually to SharePoint site collect in readonly mode?

We have a SharePoint2010 on HTTPS with only one site collection. All users will have readonly access to the documents therefore site collect is locked to readonly. But we would like the site ...
2
votes
1answer
282 views

Failed to upload huge size file to Office 365 site

We have a Office 365 site. When we upload documents of few MB from Browser, they are successfully uploaded to document library but when we tried to upload file of size greater than 50MB, we get the ...
2
votes
1answer
448 views

Online SharePoint file uploader

I'm planning to create an web file upload to SharePoint for a web application currently under development . The idea is the user would provide the endpoint to his SharePoint server, provide username/...
2
votes
2answers
181 views

Uploading msg files with RPC call

I'm trying to upload some documents with metadata through the SharePoint RPC calls. Works great, untill I try to upload a file with an MSG extension; it refuses that for some reason. Are there blocked ...
2
votes
1answer
2k views

Upload multi files controls?

I have a web part which contains FileUpload asp.net control , i want to replace FileUpload asp.net control with Upload Multi Files Sharepoint control. Is there a way to reference this control in my ...
2
votes
0answers
46 views

Update a library field when uploading a file using javascript

I am using a spfx webpart to upload a file and modified a column value associated tothat file. The code below works and stop working without any reason and i can modify only the title field with it. I ...
2
votes
1answer
61 views

SharePoint Web Parts Development Pipeline: How do I speed up dev times within my dev pipeline?

I am building SharePoint Online Web Parts with ReactJS and the apps are stored in the SPO Store as Apps. I obviously have to upload and currently doing it via VS Code and the gulp commands. This is ...
2
votes
2answers
253 views

Add attachments in to SharePoint flist using JSOM without using FILEREADER

We are having options to upload attachments/files in to document library or to list as attachment with the help of JSOM by using FILEREADER object. FILEREADER is available only after IE10 versions. ...