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
0answers
18 views

File not found error JSOM Sharepoint file uplaod

The code was working perfectly and suddenly this error: "Request failed with error message - File Not Found. Stack Trace - undefined" comes out, can some please help me? onFileSelected(event) { ...
0
votes
0answers
22 views

Upload file from external web application to sharepoint online using REST service

I need to upload a file to SharePoint Online from SAP UI5(SAP UI5 is a front-end user interface to build desktop/mobile applications and is based on HTML5 & Javascript library). I'm trying to ...
0
votes
1answer
23 views

increase the size of text on Upload.aspx

Is there a possibility i can ammend some CSS or something to increase the text size on Upload.aspx? I guess not but it would be very nice if i could. Any advice would be great, we are using ...
1
vote
1answer
32 views

Sharepoint online/365 integration (Upload files) on React app hosted on Azure and WebApi C# .Net Core 2.2

I'm struggling since some weeks ago trying to interact/automate a way to upload files from a Web App created in React and upload files to a Sharepoint Online Site – in a specific folder. The WebApp is ...
1
vote
0answers
16 views

properties.AfterProperties[“vti_filesize”] returns zero

I have created an event receiver on item add event. I am trying to get file size during upload. For this I have used properties.AfterProperties["vti_filesize"]. This is working properly for the small ...
4
votes
1answer
255 views

The remote server returned an error: (401) Unauthorized: While uploading file in document library using App Based Token Authentication

I am trying to upload a document to the document library using App Based Token authentication in SharePoint Online. I have referred following link to set up the App Based token and the token ...
0
votes
2answers
32 views

Upload file to SharePoint Online

Error message: The remote server returned an error: (401) Unauthorized.' Code: namespace SharepointUpload { public partial class SharepointUpload : System.Windows.Forms.Form { ...
1
vote
3answers
200 views

Upload failed, this file was not uploaded because the specified path was not found on server

What could be the cause of the file being unable to upload. I have searched the internet but nothing worked, and the information was posted around 6+ years ago. Just want to know if anybody has ...
1
vote
1answer
32 views

Associate a list of files to a list item

I'm trying to create a calendar where each element links to a number of files in a list. For example: the Calendar contains meetings, each meeting should have its agenda and its meeting minutes as ...
1
vote
1answer
26 views

Script to copy from fileserver to sharepoint and monitor

I am new at powershell scripting. I am asking for help. I have to create a script to upload folders from a fileserver to sharepoint. The script must monitoring that location( folder). And when a new ...
0
votes
0answers
13 views

PowerShell: How to realize a multiple directory/file upload to SPO, changing only older files (time modified)

I try to realize a multiple directory upload to sharepoint Online with powershell. Sadly, I managed to pull an upload script off, that does it's thing, but I only want to alter the files on the server,...
1
vote
1answer
17 views

REST API to Upload a File inside a Folder (if folder not available create the folder)

I want to Upload a file inside a folder using the REST API. Also if the Folder which I have passed is not there then we need to create the folder and then upload the file. Is this really achievable? ...
0
votes
0answers
12 views

Unable to upload a file to out of box Document library Sharepoint online Classic experience using IPad with safari or chrome browser

I am trying to upload a document to the standard document library (shared documents) on a classic teams SharePoint online site. I am unable to do so as the upload button is disabled. When using ...
1
vote
0answers
39 views

Make multiple File Upload with their respective fields using PNP JS

I have a picture library with 4-5 fields - Lets Take - Title(string), Date(Date), FlagOn(Boolean). I am trying to upload 10 files to my picture library and for all these 10 files i want the same ...
0
votes
1answer
34 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 ...
1
vote
1answer
94 views

Uploading a file to Sharepoint on iPad modifies filename

I am using an iPad to upload files to a SharePoint library from OneDrive. The SharePoint Online library is using modern experience. The added file names are changed after upload. A GUID is prepended ...
0
votes
2answers
31 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
50 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('...
0
votes
1answer
44 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 ...
0
votes
0answers
78 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 ...
0
votes
1answer
121 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. ...
1
vote
0answers
224 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 ...
0
votes
1answer
49 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
150 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
34 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
29 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 ...
0
votes
2answers
643 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 ...
1
vote
1answer
498 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
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=...
1
vote
2answers
118 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
130 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
167 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
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 ...
1
vote
2answers
334 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
1answer
238 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
228 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
365 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
39 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
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
1answer
107 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 ...
0
votes
2answers
97 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
20 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
178 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
142 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(); ...
3
votes
1answer
173 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
1k 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 ...