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
0
votes
2answers
844 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 ...
0
votes
1answer
58 views

Upload Attachment to SP List but Files either are empty or not able to open

I am trying to upload an attachment to my Sharepoint list and the upload goes well with a 200 message, however when I go to my list and try to open it, if it is a pdf will open an empty file with the ...
2
votes
1answer
258 views

Open MultiUpload modal form

Could you please tell me how to open a MultiUpload modal form, without using or displaying the single upload form? <script language="javascript" type="text/javascript"> $(function () { ...
0
votes
1answer
1k 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
2answers
33 views

Make Content Type required in the Upload Dialog Box

When I upload a file , the dialog box opens and default content type is already selected. Is there a way that the content type is blank and the user has to choose the appropriate content type before ...
0
votes
1answer
76 views

How can I use REST API to update an existing file in a file library whilst retaining the Created date

I have a SP Designer 2013 workflow which copies a file from FileLibrary1 to FileLibrary2. I did this via the following REST API call: https://sharepointSite/sites/rootSite/_api/web/folders/GetByUrl('...
1
vote
1answer
2k views

File attachement not working in sharepoint 2013

I've created a Infopath 2010 form with file attachment control as one of its fields. When I publish the form in SharePoint 2013, and fill up the form uploading a document in the attachment field, the ...
0
votes
1answer
45 views

No check in option before Add Document

Document Library- It doesnt have the option to check in when I upload a file. Usually close to the save button there is a check in option and noramlly if any of your column are required, you can't ...
4
votes
4answers
31k 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
0answers
130 views

Set file metadata directly on upload for records library with CSOM

I have the following issue: I want to upload a file to a library (with CSOM C#) that automatically declares all new files/items as records. The site collection setting for records is set to prevent ...
1
vote
0answers
15 views

Custom Upload Page still works for Document Library of SharePoint 2016?

I have a requirement where I need to create one custom upload page for one document library, so I built the code in a webpart control. In that form I have set custom upload control and some meta data ...
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 ...
0
votes
1answer
177 views

PowerShell to Copy files and folders from File Share to SharePoint library

How do you copy files and folders from shared drive to SharePoint document library using PowerShell? If files or folders are deleted from file share it should remove from SharePoint library as well. ...
0
votes
2answers
743 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
0answers
275 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 ...
8
votes
2answers
4k 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:
1
vote
0answers
2k 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=...
0
votes
1answer
59 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 ...
1
vote
1answer
193 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
42 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 ...
1
vote
1answer
31 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 ...
5
votes
6answers
10k 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 ...
1
vote
1answer
590 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
133 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 ...
1
vote
0answers
150 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
197 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
50 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
410 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
12k 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
241 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
232 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
508 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
1answer
407 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
42 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
110 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
1k 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 ...
0
votes
2answers
108 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
21 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
188 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 ...
0
votes
1answer
1k views

Upload Failed on SharePoint Online

How do I solve this error when trying to upload a file or saving it to a location.
1
vote
1answer
158 views

Is it possible to override a published file version?

I want to modify a lot of files in SharePoint programmatically, but it's important to not create a new version. When versioning is turned off for a list, this is easy to do using file.CheckOunt(); ...
5
votes
1answer
7k views

FileUpload control's “.HasFile” property returning False even after file is selected?

I am creating a visual web-part for my SharePoint 2013 environment. I am using asp:FileUpload control(fuBrowseXMLFile) in this web-part for uploading files to a document library. I have a button Save ...
3
votes
2answers
8k 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 ...
12
votes
9answers
19k views

Modification of '_layouts/upload.aspx'

Interesting dilemma here maybe some can weigh in on. I have a requirement to disable the "overwrite existing files" checkbox when uploading a single or multiple documents to a document library. The ...
3
votes
1answer
189 views

phpSPO concurrent file upload using token

I have created a web interface to allow external users to upload files to our sharepoint library using ajax and the phpSPO library. It all works really well, however, I am looking to optimise the ...
0
votes
3answers
2k views

How To Restrict Files Uploaded To SharePoint Online?

We have a requirement to restrict some files uploaded to SharePoint Online? Previously with SharePoint On-Premises we could utilise the blocked file types in the admin console but that is 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 ...
0
votes
1answer
722 views

upload.aspx inheriting custom masterpage

I have been developing a custom master-page based off of SharePoint 2013 html to master page converter. The SharePoint site will be used as a simple document portal for customers. My problem comes ...
3
votes
1answer
1k views

Unable to upload file (of any size) in SharePoint 2003 [Web Server busy error]

While try to upload a file (any size) on any SharePoint 2003 document library, the browser is showing an error : Form Validation Error Please correct the information you provided by following these ...
4
votes
7answers
5k views

SharePoint 2013 Drag and Drop Uploader 'drop here' box placement

I've been working on a SharePoint site that's been custom branded and run in to an issue with the drag and drop uploader in the document libraries. For reasons unknown to me, the 'Drop here...' box ...