Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
12 views

Dashboard: Inheriting Permission in Document Library for Folder/Files

We have a document library with a complex permission structure on folders and files. Is there a possibility to get a report to see or manage the permission in SharePoint 2013?
0
votes
0answers
6 views

Output SharePoint 365 list to CSV file using Flow: How can I add the file extension to the filename (.csv)?

In Flow, I am able to selectively pull certain columns from the list, put them into a file, attach to an email, and then send the email. But when I click on the attachment it won't open in Excel. If I ...
0
votes
0answers
15 views

How to check if a Wiki Page exists inside “Pages” library inside our remote event receiver

When working with server-side event receivers, I use the below code to check if a wiki page exists inside our "Pages" library or not, using GetFile() + SPFile.Exists:- DataTable currentTempletePages =...
1
vote
2answers
36 views

How to remove folder name extensions from 1000s of folders

I have a site with 1,000s of folders with a ".cd" extension to the name (still trying to track down why). I'm trying to archive the site to a file share, but each folder with a ".cd" extension is ...
7
votes
1answer
167 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 need to download all the files from each one. Overall: I have over 50 000 000 files to download over 200 farms. ...
2
votes
2answers
94 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
144 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
294 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
1answer
29 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
174 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
93 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
51 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
62 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
51 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
41 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
48 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 ...
1
vote
2answers
215 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
286 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
76 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
2k 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
1answer
97 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
125 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
35 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
278 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
134 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
50 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
228 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
65 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
198 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
699 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
56 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
369 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
152 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
76 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
317 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
28 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
489 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
2k 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
50 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
983 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
29k 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
264 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
147 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
92 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....
2
votes
0answers
15 views

Keeping Server Side Files Up-To-Date

Is there a built in way to automatically synchronize sharepoint hosted files with an external files (update on a daily-basis preferably)? The only way I know of is dragging the files into the site ...