Stack Exchange Network

Stack Exchange network consists of 174 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]

A computer file is a digital resource for storing information, which is available to a computer program and is usually based on some kind of durable storage.

1
vote
0answers
17 views

Given a set of file URLs from sharepoint, what is the fastest way to download them all?

I have a list of SharePoint list item URLs and list item attachment urls. I am currently using a multi-threaded HTTP client program to download them. Each file is downloaded with a single HTTP ...
1
vote
0answers
18 views

Sharepoint 2013 Powershell: checked out files move ownership or download

I have a large set of files that have not been checked in. Is it possible to move the checked out status to another user (not take control myself)? Or plan b, download the checked out files through ...
3
votes
1answer
60 views

What is the fastest way to upload files to Sharepoint?

I have more of an admin question - we are migrating from local document fileshare to SharePoint 2016 department by department at work . The last time it took me 5 days to migrate 90 GB with a tool ...
1
vote
1answer
35 views

C# - How to add document with REST API in SharePoint 2016 On-Premise

I want to GET documents With SSOM in SP2007 and upload with REST to SP2016 This SSOM code for create doc library: (Working): private void CreateList() { var digest = GetFormDigest(); var ...
0
votes
0answers
22 views

Powershell outputting type Microsoft.SharePoint.Client.ListItem instead of title

I have adapted/written the following code from a blog I found which deals with lists that are over the list view threshold. However $credential=Get-Credential -Message "Please Enter Credentials" ...
0
votes
1answer
20 views

How to securely delete files from Sharepoint (so they are unrecoverable)

My business is looking for a way to delete files from their sharepoint pages permanently making them untraceable and unrecoverable. When we delete them now they go into a recycle bin, we can then ...
0
votes
1answer
31 views

SharePoint Online File MD5, SHA256, MD5 Checksum

I've come across a couple of threads on here and posting this to see if anything has changed. Does SharePoint Online and OneDrive for Business store a file checksum? Looking at other cloud platforms ...
0
votes
1answer
22 views

Check duplicate document in Sharepoint Online

We are building a SharePoint site for my business team. One important functionality is "Upload" using which they can upload documents/ files/ videos to the library. Recently, I saw the same video ...
0
votes
1answer
19 views

Setting Custom Properties on Files

I have 200 files I need to upload regularly to sharepoint 365, users sync that folder with onedrive. Now, some guy has come along and added a bunch of "properties" for my files, such as "Category" and ...
0
votes
1answer
32 views

Access denied when downloading file through CSOM, but can download through UI

I need to download a couple of files from a client's Sharepoint. Here is my code: using Microsoft.SharePoint.Client; var username = "username"; var password = "pass"; var url = "https://myclient....
1
vote
1answer
29 views

How can I edit the title of a folder or file in SharePoint 2013?

I am looking at some documents on our SharePoint. In the list view, there are somehow two columns, "Title" and "Name". While "Name" shows the file name (as it appears when synchronizing the content ...
2
votes
0answers
27 views

Not getting ServerRedirectedEmbedUri for .txt, .png files Rest

When I execute the following rest endpoint, the field 'ServerRedirectedEmbedUri' is missing for files with .txt and .png extensions. For files with other extensions I get it. Rest endpoint: /_api/...
1
vote
1answer
38 views

File location from OneNote Notebook in SharePoint online

I am searching for the file location from a OneNote Notebook in SharePoint. In the Documents Library is only a internet shortcut and not the original file (.onepkg). My Question is where is in ...
0
votes
0answers
17 views

How to Check in File in sharepoint DocLib but not by user but from a value in a user column in Library?

I am developing an RER for Sharepoint Online, it checks in a file but I do not want my account to be reflected in the modified by but instead a value from a column inside the doclib. The file.Checkin ...
1
vote
2answers
60 views

Sharepoint REST API Download File Using NodeJs

i'm trying to save file to my drive using NodeJS as backend. So far, i managed to access https://${sites}/_api/web/GetFolderByServerRelativeUrl('Shared%20Documents')/Files('test.xlsx')/$value and ...
0
votes
2answers
112 views

Remove all files using REST

Is there a way I could remove all files from given folder using SharePoint REST api?
0
votes
0answers
9 views

'Find a File' list search, missing since SP Update

In SP list, Find a File search function is now not visible since the recent 365 update. I can do it by going to 'All' (unfiltered view) and then 'Filter by' on the Column, it gives me an option. But ...
0
votes
0answers
40 views

Problem with large files while using OpenBinaryStream

I would like to understand more about the problems while using OpenBinaryStream() with larger files(>5MB). I am writing a function that converts a file from a document library using url to Stream. My ...
0
votes
1answer
975 views

Corrupt Excel files in SharePoint

We use SharePoint as part of our Enterprise E3 subscription with Microsoft. From time to time, we have issues with files becoming corrupt, and we have to role back to a previous version of the file. ...
0
votes
0answers
36 views

Wrap long file names in Document library table display

I have a problem with long file names in the document library in sharepoint online As it is impossible to format a Name column using JSON column formatting is there any other way to set the display ...
0
votes
0answers
90 views

How to update locked SharePoint file properties

Is there any way to update SharePoint file properties when the file is locked by a user. Basically the file is opened by a user when the file properties are being updated. In my current situation, I ...
0
votes
1answer
70 views

Get column values where filename is x

I'm working with SharePoint API. I'd like to check a status column value, which is changed to "new" when a new document is uploaded and changed throughout our ETL process. I'm accessing the file via: ...
1
vote
0answers
97 views

Recursive listing of Files in SharePoint Library

I got lost after 2 days of development and searching in here. I need to list recursively files in SP library with subfolders. Current structure is: Testing Folder (1 file) Subfolder1 (1file) ...
1
vote
1answer
2k views

How to get list item for a file from its URL in CSOM?

I have a document library with files and folders. I want to obtain metadata for specific file or folder with known URL. For this purpose I need an access to list item associated with this file or ...
0
votes
1answer
33 views

Export files from search with file share content source

I'm new to SharePoint and we're trying to provide users with the ability to search a file share and copy files, that are found, though the interface into another location network share. Is this ...
0
votes
1answer
188 views

How to Checkin welcome page with powershell for SharePoint 2016

When i create sharepoint site with powershell: $siteNomenclaturesURL = "$holidaysSite/Nomenclatures" New-SPWeb $siteNomenclaturesURL -Template "CMSPUBLISHING#0" -Name "Noms" -UseParentTopNav -...
0
votes
2answers
91 views

How to create and modify files in the style library using a webpart?

I am using SharePoint 2010 and have the following requirement: I am creating an html file from a webpart within SharePoint (ie the user pushes a button and an html text stream is created in memory). I ...
0
votes
1answer
44 views

How to dowload folders from a Documents Library using code?

Here's the thing: I need to add a button in the page that users can use to download a whole library to their computers.. BUT they must not be able to edit these folders! So I cannot make the button ...
0
votes
1answer
123 views

Download all files in SharePoint 2007

A client of ours would like us to download all the files they have stored on a SharePoint 2007 (Windows 2008 server) and upload them to their Microsoft 365 account. The upload is simple enough, but ...
1
vote
1answer
53 views

Retrieve PDF file from Sharepoint 2010 using Context

Am struggling to get a pdf file from a Sharepoint 2010 site, I have managed to get a list of entries and found the file details. How do I now download the file? I got a root folder file downloaded ...
3
votes
2answers
129 views

How to restrict user upload file to type PDF only

i am using SharePoint online and was wondering how to allow user to only upload PDF file,IF there any out of the box solution would be great.
0
votes
2answers
638 views

Sharepoint button not opening modal dialog box when calling javascript function

I have a javascript file saved in my site assets that i can get to run (I ran an alert box to test), but I can't get the function inside of it to run. Here is the code for the button... <button ...
3
votes
1answer
51 views

Problem to get file properties (sharepointClient)

I'am trying to get the size of a file of a sharepoint account but I have no access to the data. How Can I get this properties ? Thanks.
0
votes
1answer
318 views

SharePoint - Document Library - File Size Units?

I am fetching file properties from a document library using below query(I am using c#,csom) camlQuery.ViewXml = @"<View Scope='RecursiveAll'> <Query> ...
1
vote
2answers
124 views

Is there a CSOM equivalent of SPFile.TakeOffline - Unpublish last Published Major version when there is a Draft version

I'm trying to unpublish the last published version of a file(Page) when there is a draft version of it. It is possible with OOTB UI. SPFile.TakeOffline (Server Object Model) method can be used to do ...
1
vote
2answers
60 views

Getting SharePoint Server 2013 to accept a .html page

Now I have a .html page I want share point to accept. In my list of web pages, I have had to change the extensions to .aspx which I am not happy with. Is there a simple setting I have to do to get the ...
0
votes
1answer
33 views

Is it possible to automatically create a list item when a file is added in a folder on a computer?

I use a sharepoint site to deal with escalation tickets. I want to attach files to those tickets. BUT I cannot use the magical "attach files" parameters because files would be stored on sharepoint and ...
0
votes
1answer
259 views

Sharepoint file update and flow not working correctly

So in a previous question I asked how to add a file to a sharepoint list. Since that is not an option, I had make them create new files every time they wanted to make a request. However, creating ...
3
votes
0answers
26 views

Why aren't certain file types updating in the document library?

For the past couple of weeks, I've been updating my SharePoint subsite files by uploading them to the document library. It's been working fine until after this weekend. JavaScript, CSS, and various ...
1
vote
1answer
408 views

How to display file contents from SharePoint document library?

I'm doing a REST request to get file contents from a file in my SharePoint library. So far, I've managed to get the actual contents from any file I need, and I've tried converting to binary. But, for ...
0
votes
1answer
27 views

Report on file names over 200 char long

Will be going through a migration shortly and I need to identify any file/pages that have a title/page name over 200 charcters long. I don't have access to power shell so looking for any alternatives ...
0
votes
1answer
30 views

How can I allow file uploads (pdf) to a specific category on each item of a list?

I am looking to have all users be able to upload PDF docs to a specific spot on our SharePoint list. We have many columns, one for "dispositions" and when a disposition is filled out and ready to ...
4
votes
1answer
1k views

Download sharepoint document with REST as binary file not working for me

First of all, i am using node.js with provider hosted app with elevated rights to do this, no front-end at all. I just want to download a file using the API and then save it. I can't save if the API ...
0
votes
2answers
48 views

Open with Windows Explorer - Works for 3 web applications but does not work for 2 other web applications within same farm

Open with Windows Explorer - Works for 3 web applications but does not work for 2 other web applications within same farm. This scenario tells me that it's not my computer since I can open for 3 ...
2
votes
1answer
769 views

How to view files in a library in SharePoint Designer

I am not able to view sharepoint library files in SP Designer. Please help me in this regard.
4
votes
4answers
22k views

What is the file size upload limit for SharePoint online?

Is 50 MB the max file size upload limit for SharePoint Online site collection? We have a business premium account in Office 365. We are Getting error trying to upload 48 MB files. Is there any way to ...
1
vote
1answer
224 views

Where is all items under “All Files” in Sharepoint Designer 2010?

I have opened my sharepoint site in Sharepoint Designer 2010. When I click on "All Files" which is in left panel, I see only one test.xml file. So, I just want to know How can I get all items of my ...
1
vote
1answer
92 views

Possible to upload a file to multiple libraries at once? [SharePoint 2013]

I have multiple departments who have their own subsite. Each department has their own Document Library. Is it possible that when a user uploads a file, that the user sends the file to multiple ...
0
votes
1answer
73 views

Infopath submit filename multiple fields

Using the Submit Options on Infopath 2013, I am trying to figure out how to generate a filename based on two of my form fields. Name Device Model For example I would like the filename to be: "Steve ...
1
vote
2answers
1k views

Get Item from document library using server relative url

Value does not fall within the expected range. function getFileProperties(url,success,error) { var ctx = SP.ClientContext.get_current(); var relUrl = url.replace(_spPageContextInfo....