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.

learn more… | top users | synonyms

8
votes
3answers
18k views

How to get a file using SharePoint Client Object Model with only an absolute url at hand?

We have a database with absolute (full) links to SharePoint files. If a user wants to download or get checkoutstatus information about the file, our program needs lookup that information in ...
6
votes
1answer
6k views

Error when deploying module with GhostableInLibrary files

Here is the module which I want to deploy on the server and the files which should be shown in the Style Library, when deploying them without type ghostale in library, all go good and well, no errors, ...
4
votes
1answer
2k views

Why is SPD adding content to my file?

I'm using SPD to edit an HTML file that's in SharePoint (in a subfolder of SiteAssets). Later, I return to the file in SPD to find that the following content has been added to the file (where ...
4
votes
1answer
794 views

Schedule the copy of a document to a network location

I'm looking to copy a document to a network location on a scheduled basis. Anyone have a best practice on how to do that? I thought I could write a work flow, but since I want to copy to a ...
4
votes
2answers
3k views

Copy file using javascript client object model - new version

I have a solution that adds a custom button to the ribbon in SharePoint 2010 and am using the javascript client object model behind the scenes to copy a file from Library A to Library B when the ...
3
votes
2answers
7k views

Special Characters in sharepoint 2010 file/folder name?

What special characters are allowed and not allowed in sharepoint file/folder names?
3
votes
2answers
18 views

Clipboard upload SharePoint 2010 multiple files

In our company we are looking for a component what allow copied physical files on disk can be pasted on web browser SharePoint 2010. We have researched about it and everything point to use ...
3
votes
1answer
1k views

Cannot delete file: “checked out to -1;#”

I am trying to delete a couple of files from a document library, but SharePoint 2013 tells us that "the file is currently checked out or locked for editing by another user". However, when attempting ...
3
votes
1answer
445 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 ...
2
votes
3answers
118 views

Two different documents with same name become one

If two users have two different documents but same name, when the second user saves his file in same document library, it overwrites the first user's document and the document gets new version. Is ...
2
votes
3answers
2k views

Get file names in sharepoint 2013 document library

What is the best way to get a list of all the file names in a sharepoint document library with javascript?
2
votes
1answer
483 views

Manage File permissions using REST API

Is there a way to manage File permissions (roles) using the REST API? http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx I'm developing an app asking for permission on the fly: ...
2
votes
1answer
138 views

How to handle Multiple ACL on List Item without performance starve

I'm facing a problem with some items in my List. I want to have an Huge document Library (thousands of files in folders + GB of files) and I want to have different permissions on the files. I want ...
2
votes
1answer
261 views

Where did a downloaded file from SharePoint come from? (it's SharePoint path)

Where did a downloaded file from SharePoint come from? When a user clicks a link in SharePoint to open a file which has registered extension to start a program it seems to follow this flow -Browser ...
2
votes
1answer
368 views

Performance bottleneck on SharePoint upload method

Trying to eliminate a performance bottleneck on a method doing file and metadata uploads. According to the profiler on a line-by-line of the decompiled code, the majority of time is spent on ...
2
votes
1answer
239 views

Depth of document library folders & files

How can I find out how deep is a document in a document library? Should I simply parse the url of the file and split according to position of slash character? Or is there a better way? Thanks.
2
votes
1answer
46 views

Get file content, rename that file and after that getting the content again fails

I have one interesting problem, but I don't know why this happend. Generally I: 1) try get content from file (succesful result) 2) then I rename file in sharepoint (succesful result) 3) try get ...
2
votes
1answer
51 views

To acces file from Linux server

We have a Scheduled report that generating from Business Object that is hosted in Linux Server.We required to show this report in share point site.Is there any built in webpart for this. How can we ...
2
votes
1answer
1k views

How to find which user last visited a site or recently downloaded a file available on SharePoint?

Is there a way to find who visited the site at last and who downloaded file recently in SharePoint? Also can we log who are the users that used/accessed the file? Can anyone provide some guidance on ...
2
votes
2answers
100 views

File size limit for a document in SharePoint is actual file size or file size on disk

The file size upload limit for a document is 50mb by default but is it file size of the document or file size of document on disk.
2
votes
2answers
6k views

SP 2013 Log Viewer?

does anybody know if there is already a log viewer tool available that can completely read SharePoint 2013 log files? As far as i know the 2010 log viewer tools can't parse the log files of 2013 and i ...
2
votes
3answers
2k views

Problems adding webparts to a page in the correct order

I would think there's something supersimple I'm missing, but I can't find where I'm going wrong. I have a feature deploying a default.aspx page with two CQWP webparts. I use the AllUsersWebPart ...
2
votes
1answer
72 views

SharePoint removing last byte from uploaded file

I'm facing a very bizzare error in SharePoint. Basically, when I upload a file to SharePoint using a custom form and a normal attachments field control: <SharePoint:AttachmentsField runat="server" ...
2
votes
1answer
141 views

Add file without checking in

I have a question. How can I add a file without checking it in directly? I add file like this: Library.RootFolder.Files.Add(fileName, buffer, overwrite); But when I do that I suppose the file is ...
2
votes
0answers
78 views

SharePoint modifes and corrupts uploaded files

When I uploaded a file to SharePoint it gets modified, which is apparently intended for office files according to this Blog. This only happens to .dwt files which also seem to be the extension for ...
2
votes
0answers
67 views

Cross Browser Local File Viewer in Content Editor Web Part

Is there a way to use the content editor web part (in SharePoint 2010 standard edition) to view files on a network (given an absolute path using and iframe) that will work in IE, FireFox, Chrome, ...
1
vote
1answer
391 views

Uploading multiple files with metadata in SharePoint 2013

Is it possible to upload multiple files with metadata in the document library in SharePoint 2013?
1
vote
2answers
271 views

How to I programmatically move documents from file system to SharePoint Library

We have a file system, with about 12 folder and 1300 documents in it. The top level has 3 folders, with 3 sub folders each. I am planning to create 3 libraries, with 3 folders in each, and transfer ...
1
vote
1answer
30 views

SSL on SharePoint

I am facing some problems on SharePoint. I've got a SharePoint site (let's say HTTP : //intranet.domain.be) We wanted to use this intranet from outside. So we decided to set an Extranet (HTTPS : ...
1
vote
2answers
59 views

Best way to migrate Document Library files to file system

We are looking to migrate all of the files in a SharePoint Site Collection to the local file system. This site collection has multiple sub sites and document libraries, which we would want to migrate ...
1
vote
2answers
1k views

Search Scope returning aspx pages

I have 40 document libraries. I dont want to add exclusion for each document library to exclude "http://pop.abc.com/sc/doclib1/Forms". I tried adding fileextension = aspx exclude and that does not ...
1
vote
2answers
1k views

SharePoint 2010: Saving file to local folder: Access Denied

in SharePoint 2010, I created a DLL that I deploy to the GAC. From this assembly, I try to save a file then access the file I just saved in a temporary location, such as C:\temp. Everytime I try to do ...
1
vote
1answer
1k views

Anyone know how to upload files into a Sharepoint Library using javascript and the SOAP API in SP 2010?

I am writing custom forms in javascript. I do not have access to visual studio. I need to be able to upload a file into a document library with meta data. I've been playing around with the Copy.asmx ...
1
vote
1answer
82 views

How to add XML file with event reciver

I am creating a event reciver for the list, for that i need to get some data from XML file. currently i have placed the xml file in my local system. Actually where do i need to add the xml file. Is ...
1
vote
1answer
108 views

Upload file using JS and REST. Specify content type

I can upload file to SharePoint library using JS and REST. The content type of added file is as library default content type. How can i specify file content type when uploading file? Thanks!
1
vote
1answer
211 views

Deploy file to image library with visual studio solution

developing a visual Studio solution having an own picture library called Slides. With the deployment the new picture library should contain some default files. Is this possible and how to achieve ...
1
vote
1answer
318 views

Upload file in sharepoint document library using ECMA script

I Want to upload a file in document library using Client object model with ECMA script Any help will be appreciated
1
vote
2answers
69 views

SharePoint as a File Manager

I'm a business user and trying to find out if Sharepoint is the right tool to manage our files. Our files consists of excel spreadsheets and Word documents. They include policies, procedures, and ...
1
vote
2answers
1k views

Content type ID on a file different from actual content type ID?

Moving from "a sharepoint user" to "a sharepoint power user", I now am facing the world of Powershell and more. One thing that really puzzles me is the following. Ok, so I have a document library ...
1
vote
1answer
470 views

What is the reason to have a minimum default value for the “executionTimeout” attribute?

If SharePoint Upload time limit can be increased as we wish, why the default is not set to be Max? What is the reason to have a minimum default value for the attribute "executionTimeout"? ...
1
vote
2answers
611 views

Issue in versioning and metadata with recent Office Files

I have a web service that shows a sort of CRUD of document (with metadata) for other application.. I have some document libraries in which users can upload (via WS) documents with metadatas. For ...
1
vote
1answer
285 views

SharePoint file gets stored in external filesystem: manually update file location?

Suppose I have a Sharepoint Document Library that's read-only. I'm planning on writing a custom solution that will enable users to copy a file to remote file storage. How do I change the file to refer ...
1
vote
0answers
72 views

Sharepoint 2013 REST API with user without admin rights

I'm developing a web application which integrate with the sharepoint (multi-tenant). The app is supposed to upload and download files to the sharepoint. I'm using the Sharepoint 2013 REST and trying ...
1
vote
0answers
138 views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
1
vote
1answer
42 views

Sharepoint 2013 App Restrict File extension

I am using an App on my site that is kind of a list and allow you to select a file. Is there a way to restrict the file extension that the user can select? Can I do a receiver(event handler) to ...
1
vote
1answer
97 views

Create File in sharepoint mapped directory

I am creating a farm solution, I want to create zip file from 2 or more files taken from sharepoint library. I want to temporarily save these files in my mapped folder ("Layout/MyFolder"). and allow ...
1
vote
1answer
114 views

Document locked by SharePoint

I am trying to read values from document after that the file was edited in Office Web Apps. Problem is, that this document is locked by Sharepoint (SPFile.LockType - Shared). I tried to Check Out and ...
1
vote
2answers
1k views

File not found on _layouts/user.aspx? Any ideas why?

Does anyone have any idea what file may be missing? //log System.IO.FileNotFoundException: Unable to find the specified file. at ...
1
vote
0answers
190 views

“File not found” when attaching file to list item

I'm trying to write a section of code that lets users attach files to list items. The goal is to allow any user to be on the SP site and upload any "legal" file from their machine or shared drives to ...
1
vote
1answer
598 views

Can't download document from library

We have document library which contains about 2,5k SCORM packages (about 100GB total) for teachers. This files are relatively big and in *.zip format, so we decided to enable RBS on content databse ...