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
1
vote
2answers
34 views

How can I upload a document to a sharepoint subfolder using the REST API?

I'm using the official Office365-REST-Python-Client which basically is a wrapper to submit HTTP requests. I'm looking at the documentation and have been succesfully able to upload documents to the ...
0
votes
0answers
22 views

Excel file upload

When I upload an excel file in SharePoint, some of its tabs are missing when I access it in SharePoint. I have 12 tabs in my 2Mb excel file but only 9 appears when I open it in SharePoint. How can I ...
0
votes
0answers
22 views

Best way to upload multiple large files from SharePoint Hosted-Add In in SharePoint 2019

I have a requirement to upload multiple large files from a SharePoint Hosted-Add in Page to SharePoint document library. Well, SaveBinaryDirect works very well in CSOM but using "filepath". Also, ...
0
votes
1answer
17 views

How to copy item attachment to another item through Rest api or JSOM?

I have a list item with attachments. I want to copy this attachment to another item using JSOM or REST API. Anyone suggest an idea to do this.
1
vote
1answer
23 views

Adding pdf file with rest call GetFolderByServerRelativeUrl add() to sharepoint

I have read some articles about adding a file to SharePoint where the body contains text when using a REST POST call with GetFolderByServerRelativeUrl body add(). Can anybody help me to add a pdf ...
0
votes
0answers
11 views

Why is my Excel Spreadsheet locked when I uploaded it onto SharePoint?

I locked certain columns in my Excel spreadsheet so that nobody would inadvertently put data in those columns. But I also made certain that specific columns in the spreadsheet were editable so that ...
0
votes
0answers
27 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
28 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
28 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
42 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
25 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 ...
5
votes
1answer
416 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 ...
1
vote
1answer
49 views

Retrieve File Sharing links via CSOM for the users outside of the domain

I currently have a program that will upload selected files to a specific folder on SharePoint and give access to specific users based on their emails using the SharePoint CSOM API, however, I am ...
0
votes
2answers
54 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
761 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
49 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
34 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
14 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
18 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
14 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
56 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
72 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
168 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
35 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
90 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
47 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
174 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
209 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
305 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
71 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
217 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
43 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
32 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
955 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
645 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
150 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
160 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
222 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
463 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
244 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
234 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
434 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
44 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
112 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 ...