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
1answer
696 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 ...
1
vote
1answer
727 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
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,...
0
votes
2answers
868 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 ...
1
vote
1answer
11 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? ...
4
votes
1answer
735 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 ...
0
votes
1answer
598 views

Disable multiple document upload in SharePoint 2013

I have a document library and it has a workflow associated with it. That workflow generates some automatic 3-digit serial number. If I add multiple documents then that workflow is unable to generate ...
3
votes
1answer
942 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 ...
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 ...
1
vote
1answer
44 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
0answers
7 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
18 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 ...
1
vote
2answers
965 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....
2
votes
1answer
829 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 ...
5
votes
2answers
590 views

Multiple File Upload in dialog box

I have custom button which opens a dialog box of out of the box page Upload.aspx of a document library. First I am getting the GUID of the library by REST API and then passing the URL to open it ...
0
votes
2answers
1k 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 ...
0
votes
1answer
922 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 ...
2
votes
1answer
9k 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 ...
0
votes
2answers
326 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
16 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 ...
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 ...
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
25 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
28 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
40 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
28k 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 ...
2
votes
2answers
634 views

Upload files with REST or alternatives

I need some help with Server to Server upload. (not from the browser) Has anyone uploaded files to sharepoint 2013, using REST, or other methods from a server (java/coldfusion/other). I am getting a ...
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 ...
0
votes
0answers
34 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
13 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
4k 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
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 ...
3
votes
1answer
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; ...
0
votes
1answer
50 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. ...
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 ...
0
votes
2answers
663 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
788 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
678 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
143 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 ...
7
votes
2answers
3k 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
916 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
57k 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 ...
0
votes
1answer
34 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
114 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
24 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
24 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
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 ...