A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

Flow with For a Selected File Trigger Passes not Info about Item

I created what should be a simple Flow: user selects doc in doc library, clicks Flow>FlowName. It prompts me to add approver emails which I do. The flow works great, but I cannot get any info about ...
0
votes
2answers
20 views

Show all files in documents folder view/structure but limit access to individual files in Sharepoint Online

is there a way in Sharepoint online to allow anyone who has access to a Sharepoint page to be able to view every single file within a folder but restrict certain users from actually viewing the files? ...
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 ...
1
vote
3answers
65 views

Create .xlsx file using Sharepoint Rest Api

Is their any specific headers need to set while creating .xlsx file in SharePoint? I have used the below Rest API code in postman to create the one but getting the attached error while opening the ...
0
votes
1answer
31 views

How to get content of file in sharepoint using sharepoint rest api

I am using below endpoint to get the content of file in sharepoint: https://<site>/_api/web/GetFolderByServerRelativeUrl('folder name')/Files('file name')/$value?binaryStringResponseBody=true ...
0
votes
2answers
23 views

I want sharepoint API to list last 5 files that got modified in a range of newer to older

I want SharePoint API to list last 5 files that got modified in a range of newer to older. How to get the top 5 files last modified.
1
vote
2answers
15 views

Migrating Local Filezilla Server to SharePoint

My company currently has a local FileZilla server that we use to share and store pretty much all of the company files. Primarily for the project managers and accounting department. I'm wondering ...
1
vote
1answer
48 views

How to speed up file reading using SharePoint CSOM?

I have created a function using the SharePoint CSOM to extract all files within a Document Collection (List) using the below code however it takes over 5 minutes to get a list of 3671 files. Is it ...
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
0answers
35 views

Sharepoint local folder naming convention

My organisation has moved over to SharePoint relatively recently. Most of the usual teething problems have been ironed out, but this one has been driving the programmers mad: When we sync a folder ...
0
votes
1answer
32 views

MS flow delete file from file system

I have created a flow to delete file from file system but I am getting error as below screenshot: Thanks in advance.
1
vote
0answers
58 views

CSOM to append a line in a text file [closed]

Using SharePoint 2010 and Microsoft.SharePoint.client.dll. I am trying to update a text file (basically adding a line at the end of the text file with log details) that is stored in a SharePoint ...
1
vote
2answers
105 views

Microsoft flow - Get First Char from File Name

I have a form that creates .docx files from a form / word template. User inputs Firstname = Joe Lastname = Dirt Then a file is created "Joe Dirt - New Hire.docx" I like to find a way to get the ...
0
votes
1answer
44 views

Name conflict behavior

In SharePoint online when my flow moves the file (PDF, ZIP...) named "U000" in a folder where is a file with the same name it renames the file in "U0001". How can I customize this to be renamed like "...
1
vote
1answer
25 views

sharepoint 2013 file don't edit in app

I have a problem with File in SharePoint 2013. I can open a file, but I am not able edit it. This problem is across the SharePoint farm. enter image description here
0
votes
0answers
31 views

Problem with file adding to item field

Good day, I have some SharePoint list. The List has multi-line field "Attachments" with the option "advanced rich text (rich text with pictures, tables, and hyperlinks)". And when I create new list ...
0
votes
1answer
22 views

Difference of two files using SharePoint

How do I get the diff of file1.csv and file2.csv from SharePoint (maybe using API calls, if possible)? diff : Compare the contents of file1 and file2 and produce the list of changes necessary to ...
1
vote
1answer
50 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 ...
1
vote
0answers
25 views

Move pdf files to a folder with in the same library

In SharePoint doc library I have few files. When I upload PDF files, these files only should move to a folder called 'PDF' and remaining files will have to move another folder. (These folders are in ...
0
votes
2answers
24 views

Number of upload limit inside a folder

May I know the upload files limit inside a folder? I mean each folder can contain how many files ?
0
votes
3answers
49 views

How to get deleted file when itemDeleted event fire in remote event receiver

How to get the deleted file when itemDeleted event fire in remote event receiver in SharePoint Online. I have tried as follows but this does not work: List photos = clientContext.Web.Lists.GetById(...
1
vote
1answer
60 views

How can I remotely delete a file in document library in sharepoint online using remote event receiver?

I want to write a program using remote event receivers to delete a file within a document library. when itemDeleted event fire the that same file which was in another document library should be ...
0
votes
0answers
13 views

Accesing excel cell data hosted on SharePoint from java code level

I have following use case: I need to get to SharePoint, pass authentication using my credentials and retrieve data from excel file(certain cell) stored inside. Everything done in java. I was ...
0
votes
2answers
126 views

GetFileByServerRelativeUrl is returning 400 bad request

I am trying to download file from SharePoint using below code url ='https://site_url/_api/web/GetFileByServerRelativeUrl("/PraveenTest/Test/file_name")/$value' headers = {Authorization: "Bearer" + ...
1
vote
0answers
27 views

Get a File Which Contains Turkish Characters

I am using Java with Rest api to get file from Sharepoint online. It is okay but if the file contains Turkish character i can't get it. If the file name is "test.pfd" , i can open the file but the ...
1
vote
0answers
34 views

Powershell script for deleting files starting with X and finish with_old Sharepoint online library [closed]

I need a script to delete files from the doc library in Sharepoint online. All files starting with specific latter (for example "X") should be deleted. And the ones starting with the same latter but ...
1
vote
4answers
55 views

Get link to file without sharing the file

Me and a colleague both have access to the same document library. I want to tell him to take a look at a PDF file inside this library. When I click on "Copy Link" a link is created and an additional ...
0
votes
1answer
30 views

What Real-time Collaboration Advantages Are There By Using a SharePoint Document Library Versus OneDrive?

I know SharePoint is a powerful multi-faceted platform useful for collaboration and that it is obviously very capable when trying to work on a document or spreadsheet simultaneously with other users. ...
0
votes
2answers
127 views

SharePoint Online: User can delete their own document or files, can't delete other's files

I would like users to only be able to delete their own files, But edit and view everything else. Is this possible in SharePoint Online?
4
votes
1answer
54 views

Difference between EffectiveInformationRightsManagementSettings and InformationRightsManagementSettings

Microsoft.SharePoint.Client.File has above two properties. Can someone tell me details about them and difference between them. According to my research, when IRM on a library is enabled, the details ...
1
vote
1answer
152 views

How to get document names inside a folder in sharepoint document Library?

I have a document Library in which there are a number of different folders. Each folder contain different documents. I need to fetch the name of all the documents in a particular folder. So far I have ...
1
vote
1answer
135 views

“Bad request” when trying to upload file

I am trying to upload file via C# to sharepoint server 2013, I copy pasted the code from here. I just added inside the constructor my credentials, like: public SharePointClient(string webUri) { ...
1
vote
1answer
73 views

New SharePoint files always open in Word Online

My workplace has a SharePoint library that we use to track product changes. We would prefer that when users create a new document that it opens in the Word client application immediately rather than ...
0
votes
2answers
98 views

How to create a document on a sharepoint using C#

I know how to create a word document using c#. The issue I am having is I don't know how to place that document in the SharePoint folder. var newfile = System.IO.Path.Combine( Directory....
0
votes
2answers
96 views

How to move (rename) a file with the URL using JavaScript

I am using SharePoint Office 365. I have tried to extrapolate how to do this from many other sources but I am stuck. I have the URL of a file (happens to be a OneNote Notebook) and I want to move the ...
1
vote
1answer
42 views

Unable to read doc extension file from SharePoint 2019

I am using the code below to read files from SharePoint 2019 server. It works perfectly for docx file extension but with doc files it throw an error. Can you guy s help me out here please? using (...
0
votes
0answers
33 views

Looking for rest parameter for copy/create document with content for post method

We are trying to copy document from SharePoint Online document library to documentum(DCTM) repository using REST API (MS-Flow). Right now we are able to create document to documentum(DCTM) with ...
0
votes
1answer
33 views

Sharepoint Online issuse: Edit File

I am editing file and library on SharePoint online: just add a few columns to the library. I saved and saw these changes displayed on the page. But after 12-24 hours, I returned to the library and ...
0
votes
0answers
16 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
385 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
17 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
56 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
198 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
206 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
2answers
1k 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
971 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
92 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
885 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
269 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
160 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 ...