Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
2answers
618 views

Force “Name” field in SP13 Library to be equal to '“Title”

As I understand, SP13 searches documents by document Title. When you upload some document to the library, you have to fill in "Name" and "Title" ( the same field twice). What I want to do is to ...
1
vote
1answer
781 views

How to get url of file after uploading to document library?

How do you return the URL of a file after it has been uploaded to a document library, using the default upload page? Returning the text from the "inputFile" textbox from the upload.aspx page would ...
0
votes
1answer
1k views

How to restrict access to documents in a folder so they can only edited and viewed by the user who uploads the file?

I have a file structure with a parent folder, two sub-folders, and multiple PPT documents in each sub-folder. The documents need to be able to move between the two sub-folders, but the tricky part is ...
1
vote
1answer
654 views

Create Folder and Upload File to Document Library

I am new to this site so please feel free to redirect me to other posts that may answer my two part question. I am working on a .NET web form that needs to upload files from a asp:FileUpload ...
1
vote
0answers
42 views

POWERSHELL Webclient Download/Upload giving “The request was aborted: The request was canceled.”

The powershell code to download and upload file from Sharepoint is throwing error for both download and upload functions. Error is : Exception calling "UploadFile" with "3" argument(s): "The request ...
1
vote
1answer
671 views

Upload file to azure blob storage

I have a SharePoint app with a custom action. With this custom action I want to upload the selected file in the SharePoint document library to a container in the azure blob storage. How can I upload ...
7
votes
2answers
2k views

How do I create a upload button on SharePoint online

I would like to know how I can create an upload button on a SharePoint page so a user is able to click on the upload button and upload a document. Like this one:
0
votes
0answers
295 views

Uploading file on sharepoint with python

I try to upload a small text file on SharePoint with Python requests : from requests_ntlm import HttpNtlmAuth import requests url="https://sharefrance.xxxx.com/FR/ECES/Wiki%20Documents" auth=...
22
votes
6answers
54k views

Which special Characters are not Allowed in SharePoint 2013\2016 Files\Folders?

I am working on SharePoint Admin and Development part. One of our customer is using SharePoint 2013\2016. User is getting Special character issue while uploading file in SharePoint 2013\2016. We are ...
1
vote
1answer
689 views

Get uploaded document id using JQuery

I need to get document ID of newly uploaded document using JQuery, any help highly be appreciated. I'm trying below code which is not working and gives error, 404 not found. function getListData(...
0
votes
2answers
771 views

SharePoint Online: Display form (Newform.aspx/Upload.aspx) instead of Pop up dialog for uploading documents in a document library

My current environment is SharePoint Online. I want to customize (Newform.aspx/Upload.aspx) for a document library and want to show user a customized form instead of popup dialog after uploading ...
0
votes
1answer
30 views

Is it possible to upload the same file, to multiple document libraries?

Is it possible to quickly upload the same file to multiple document libraries? The reason I want to do this is because I have multiple document libraries because they each have different security ...
4
votes
1answer
731 views

Uploading '.xlsx' or '.docx' to SharePoint 2007 from ASP.NET app causing file 'corruption'

I have an ASP.NET application wrapped in SharePoint 2007 website. Within this application I allow users to create requests and they can also upload supporting files for the request. When a user ...
1
vote
1answer
51 views

How to restrict Particular file type in SharePoint Online?

I need to restrict particular file type while uploading into document. Is there any possible way to restrict? I know there is no OOTB feature. Guide me if there any ways ? Also send me the sample code....
0
votes
0answers
15 views

Error while uploading a file in a provider hosted app using SP.RequestExecutor.js

I am trying to make cross domain calls and use REST API in SharePoint provider hosted app but to no luck. Below are few things i tried. I have tried implementing the following sample code to validate ...
3
votes
1answer
894 views

How to upload document file and its version file using csom in C#

I have downloaded a document file (current version) and its version history files (old version files) from one of my sharepoint site list. Now, I want to upload that current version file into another ...
2
votes
1answer
806 views

How to copy a file from one site collection to another site collection using JSOM ,in a Sharepoint Hosted app?

I have to create a sharepoint hosted app (Office 365) for copying a latest version of a file from one site collection to another site collection under the same tenant, using JSOM. Can someone direct ...
0
votes
2answers
923 views

Sharepoint PHP File Upload

I'm new to Sharepoint integration. I'm hoping to get some answers and direction for the script. The current process requires an XML file to be uploaded into a library, from a separate website. My ...
1
vote
1answer
22 views

Upload large set of documents converting folder names to tags

In general, I have a large library of files on a network drive and am trying to find the best way to upload them to a SharePoint library. I'd like to avoid any folders, but retain the metadata of the ...
1
vote
2answers
909 views

Fix 401 Unauthorized Exception uploading file to SharePoint 2010

I have a WCF service hosted in IIS on Domain 1. This service is accepting a request to upload a file, and then uploading the file to a SharePoint 2010 Server on Domain 2, using the client object model....
0
votes
1answer
903 views

Upload file in sharepoint

I am creating webpart to upload file. I created asp button: <asp:Button ID="txtUpload" runat="server" Text="Upload" OnClick="txtUpload_Click" /> Then on click event of button i write ...
0
votes
2answers
1k views

The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web?

I am trying to upload documents to SharePoint 2010 site and i am getting the following error. The URL 'aaa.pdf' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file ...
0
votes
2answers
121 views

Modify PowerShell script to upload all Folders and Files to a Sharepoint Library

I would like to modify the Powershell Script found at the following site: https://gallery.technet.microsoft.com/Tool-to-upload-files-ba0273ee I would like to upload all Folders, subfolders and files ...
5
votes
6answers
9k views

SaveBinaryDirect Throws Unauthorized When the Client Object Model Works fine

I have decided to use the SaveBinaryDirect Method to upload documents to the sharepoint site due to not having the request/file size limitations that the client object model has. The application does ...
0
votes
1answer
989 views

Upload an html page to sharepoint

I"ve been working on an html code (1 page only) with functions (using Javascript and CSS) and it's all combined in one file named menpower.html. I want to upload this html page to my SharePoint, so ...
0
votes
1answer
179 views

Upload attachment to List Item using React & Axios (REST API)

Well the title pretty much sums it up. I've got a custom form outside of sharepoint that creates/updates/views items from a sharepoint list using Rest API (with accessToken). Now i need to be able ...
1
vote
2answers
53 views

Optimal upload bandwidth for Sharepoint Online?

Looking for some advice on the optimal upload speed for our internet connection now that we've moved to Sharepoint Online. We're a small business (15 users) working with mostly Word, Excel, PDF, and ...
5
votes
1answer
1k views

Upload image to rich text field and choose destination

SharePoint 2013, Team-Site-Template I got a custom list with a rich text field. This offers the option to upload images to. There also is a doc. lib. with 3 folders on this site. The upload form ...
6
votes
2answers
4k views

How to change 'Modified By' column value when a new file is uploaded in SharePoint 2013 using Client Object Model?

I want to change 'Modified By' column value of a file that is being uploaded using Client Object Model in SharePoint 2013. The problem is that the version of the file is changing. Kindly help me. The ...
0
votes
2answers
1k views

How to upload multiple photos in a picture library to Word or PPT in SharePoint 2013? This worked using Actions | Send To in SP2010

In the photo library in SP2010, under Actions, you can select multiple photos and choose “send to” Word, Excel, PPT, etc. There’s no Actions drop down in SP2013. Here’s an article that describes ...
2
votes
1answer
8k views

HttpRequest.Files is Always Empty - Implementing Multiple File Upload

I have an application page in LAYOUTS in the 14 hive (SP 2010) within which I am dynamically appending HTML <input type="file"/> controls onto the page. Now when I try to post these files to the ...
3
votes
1answer
1k 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
1answer
3k 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 ...
1
vote
0answers
40 views

Invalid file error

I get the following error when trying to upload a PDF file to a SharePoint list. File is less than 20MB. Have previously been able to upload these files. Still able to upload some PDF files but not ...
0
votes
0answers
65 views

Update file metadata in an spfx webpart

i am trying to update a file properties that i have just uploaded. Once the file has been added to the library,i am doing another http request to get the file properties but it is not working.i can't ...
2
votes
0answers
31 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 ...
1
vote
2answers
161 views

Risks of increasing file size limit above default of 250 mb

My company is new to SharePoint. We have an on-premise installation with the file size limit set to the default of 250 mb. We've had a request to increase that limit to 500 mb. The Microsoft article ...
0
votes
3answers
11k views

SharePoint Document Center upload error

I have: SharePoint 2010 SP1 instance. Microsoft Office Professional Plus 2010 Windows Server 2008 R2 Standard The issue is that any uploads from within office (e.g. Save As or Save and Send) that ...
0
votes
1answer
233 views

SharePoint 2016 Help with SP.FileCreationInformation and clientContext.get_web(); using JSOM

I need to copy a document to a document set using JSOM. The below code create the file in my Document library succesfully. However I cannot figure out how to go a step further to change from document ...
1
vote
1answer
221 views

SharePoint 2016 Copy file from page assets to Document set using JavaScript Client Object Model

I just added a button to my Document Set Home Page that is supposed to copy a fixed small file stored in ../../SiteAssets/min.png and adds it to the documents of this DS. So far I was able to store ...
1
vote
1answer
507 views

SharePoint 2016 Online : SharePoint library file uploading issue. Error : Ensurer was not managed across thread transitions

While i am trying to upload any file in the SharePoint library (in SharePoint Online). It gives me an error "Ensurer was not managed across thread transitions". Not able to figured it out why it's ...
0
votes
0answers
171 views

Uploading base64 stream To SharePoint Online Via Rest

I have a requirement to take a file (base64) and upload it to SharePoint Online document library using a call to the RESTful endpoints. When I do this the file ends up in SharePoint Online document ...
0
votes
1answer
125 views

C# Upload file larger as 2mb

I managed to upload files less than 2mb, but since I also want to upload larger files I had to move away from CSOM. So I searched the web and found this solution: ClientContext ctx = new ...
0
votes
2answers
32 views

What Event in Event Receiver should I use to catch the file uploading event?

What Event in Event Receiver should I use to catch the item uploading event? Seems that ItemAdding or ItemAdded can not catch the event
0
votes
1answer
79 views

File Drag and Drop Prompt Metadata Properties Dialog in Sub Folder in SharePoint 2016

I used this solution to add a Meta-Data Dialog for a DocLib in SharePoint 2016 https://sharepoint.stackexchange.com/a/158373/48328 Works fine so far, but only in the root folder and not in sub ...
1
vote
2answers
471 views

File not updating latest version

I have an issue with a document library where a file is being uploaded as an updated version, however, the old version is still visible (image below). What should normally happen is the newer and ...
4
votes
4answers
27k views

Upload files to SharePoint intranet site using PowerShell

I'd like to upload files from my c drive on my computer to my SharePoint intranet site with url http://kmsbs. I would like the files to go to the documents library on that site. Does anyone know ...
0
votes
2answers
69 views

Upload video to SharePoint library by code

I am making a app for SharePoint and have a form with several inputs for text and for files as well. The input for files works fine for regular files such as Word, Excel, PowerPoint, images etc... but ...
0
votes
1answer
18 views

Send Email When List is Created by uploading Rows from Excel File

I have a query about Sharepoint List in sending emails. Help needed in creating the below requirements please - Upload excel file contents having multiple rows/columns Example- Name City Country ...
0
votes
1answer
116 views

Cannot upload bigger (1 GB) file

Unable to upload bigger files greater than 250 MB in SharePoint Online document library. I have tried without custom columns I can able to upload where as with custom columns unable to upload. If I ...