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

0
votes
1answer
26 views

POST a file to Document library using java

How do I make a post request to a document library using java? I'm using the lastest version on this library http://hc.apache.org/ This is my post request right now: itemUrl looks like this: ...
0
votes
0answers
33 views

Upload File as Attachment using SharePoint REST API

I have tried to upload a file to a SharePoint list item, but the server returns an error (400 Bad request): ...
0
votes
0answers
3 views

Controlling filename of local copies of PDF document taken from a SharePoint Online library

I have a library of technical documents in SharePoint Online. People need to be able to attach them to emails to send to potential customers but I want to define the filename that will be applied when ...
0
votes
0answers
18 views

Euro Symbol In SharePoint 2010 Filenames

Some people like to use symbols in filenames when saving documents to SharePoint. From an administrator point of view we would prefer they not do this. I have read through this information: ...
0
votes
1answer
22 views

Can I subfolder within a folder on the same page?

In explorer you can expand the view so you can see subfolders within a folder. Can you do this on a sharepoint page? Ex. TopFolder1 SubfolderA under TopFolder1 SubfolderB under TopFolder1 ...
0
votes
1answer
67 views

Get File Url from a Lookup Column REST API

I have a lookup column that correlates to a background image in my presentation layer. Is it possible to expose the URL to the actual file via the $expand mechanism using REST? Example REST URI ...
0
votes
1answer
40 views

Read file from sharepoint 2013 layouts folder

I want to get the path of a file from _layouts folder in SharePoint 2013, for a stream input. I tried: iTextSharp.text.Document doc = new iTextSharp.text.Document(PageSize.A4); var path = ...
0
votes
0answers
6 views

Status of the connection to SharePoint

I am developing an Excel tool (using VBA) that copies some files from SharePoint to the local drive. The user of the Excel tool has the necessary access rights to the SharePoint but sometimes, the ...
0
votes
1answer
24 views

Read, Write, CheckIn/Out files in SharePoint 2010 with REST

Is there a way to Read, Write, CheckIn/Out files in SharePoint 2010 with REST? It is possible with SOAP but transferring base64-encoded seems to be inefficient. Thanks
0
votes
3answers
174 views

get the attachement files from REST API

I use REST API SharePoint 2013 to get the items from list: And and I want to get the Attachments Files, How can i do that? This the code : function getListItems(url, listname, query, complete, ...
0
votes
1answer
23 views

How to send file to SharePoint from another application?

I know how to upload files to SharePoint programmatically from CSOM but I need to do it from an application that I can't modify, this application only gives me the option of establishing a url where ...
3
votes
2answers
31 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 ...
1
vote
1answer
36 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 : ...
0
votes
0answers
16 views

Can I further restrict the characters in file names? I want to limit the users ability to upload a file that contains spaces

I am currently working on restructuring my SharePoint 2013 pages. I am in a company of approximately 300 people. A collegue of mine is writing the SOP for our knowledge management, but we are curious ...
0
votes
1answer
19 views

SharePoint Online document Library

I want to remove the files from my Computer after that automatically sync to the SharePoint online Document library. any solution?
0
votes
1answer
35 views

PS Script copy file in specific folder

Almost same question as here : Power shell script to copy the files and folders with in 2 specific dates I understand the script, which copies entire folders/files from a library to another. But my ...
0
votes
1answer
45 views

How to prevent Files with same Name?

I have a service that takes a file from a library and send it to an already specified folder. This becomes a problem when I'm having files with same names on diferent folders. Lets say that the ...
0
votes
1answer
32 views

How to make File Upload Control a conditionally required field?

I have four optional buttons. The file or amortization is required to be uploaded only if either Loan (One of the four option buttons) is selected or Bond is selected. Another words user must upload ...
1
vote
2answers
189 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 ...
0
votes
1answer
35 views

FileShare Sync SharePoint Foundation 2013

we have SP 2013 foundation it uses Forms authentication. We have a file server on the same internal network and I want to sync files between this server and our SP 2013 server. real time if we can or ...
2
votes
1answer
62 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 ...
1
vote
2answers
883 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 ...
0
votes
0answers
382 views

2013: load custom “clienttemplates.js” file

Requirement: I want to replace the file clienttemplates.js found in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS with a custom version. I couldn't find the ...
0
votes
0answers
311 views

Cannot invoke HTTP DAV request. There is a pending query during OpenBinaryDirect

I've to move some items from one document library to an other one in a different site. I use object client model to do this My issue is having an exception while i'm trying to open the file and here ...
0
votes
0answers
89 views

“Version conflict.” error while file update in CSOM Sharepoint 2010

I update my file using below code. But it shows "Version Conflict." error on ExecuteQuery. I searched for this issue by not able to find out the exact solution. Please help me out. Thanks ...
0
votes
0answers
21 views

Hide New Document for custom templates

So we are new to SharePoint. We signed up for o365 E3 w/SharePoint Online. In designing our site we ran into an problem with document libraries that ms support has pretty much told us there isn't an ...
0
votes
0answers
16 views

get word property

Hy, I've a document library where we load word document with custom properties. Are there a way in client script to have their values? I need the properties inside the word document updloaded and not ...
2
votes
1answer
99 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 ...
2
votes
1answer
794 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: ...
0
votes
1answer
239 views

How to get excel file from sharepoint library and write to it programmatically

we would like to read an Excel template stored in a SharePoint 2010 library create a new Excel file from it fill the new Excel file with data programmatically we tried already Excel Services but ...
0
votes
3answers
101 views

Best Backup Solution for SharePoint 2013 Possibly with DPM

We are planning to move our file share to SharePoint. Currently we use DPM to backup the file server, but I know the content of SharePoint is found in content databases. So my question is what is the ...
0
votes
1answer
59 views

Sharepoint automatically checking out document to user when opened

I'd like to start by saying I have very little sharepoint knowledge, I'm just helping out a friend ... Basically, we have 2 users, one of which is the owner of a file on a sharepoint site (first ...
0
votes
0answers
22 views

SP 2013 - WebApp is unstable with Office files, cannot open them

I have one SP2013 server, and several web applications, let's say webapp1, webapp2. On the first one, everything's ok. I'm able to open office files, edit them etc. But on the second one, some day, ...
1
vote
0answers
153 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 ...
0
votes
0answers
36 views

Video files are crawled but cannot identify what file type it has

On my development server and production server, I am able to crawl video files. But in the production environment the file type is not identified. In the development server when i edit the result ...
0
votes
1answer
74 views

Check if a user can read a specified File

I'm working with SharePoint Client API 2010 for a .Net application. I want to check if the current user (or a specified user) can read a specified File? This user could also be in a SP Group or in a ...
0
votes
1answer
52 views

Find Names that SharePoint doesn't allow before copying to Sharepoint

Is there a way using Windows Explorer to find Names that SharePoint doesn't allow? I have a user I need to move a large number of files from a users Windows Document folder to SharePoint. If there ...
1
vote
1answer
46 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 ...
0
votes
0answers
51 views

Open a sharepoint document from list item

I have created a list with SharePoint. In this list, i have a column named "Link" which contains a link to a document from my SharePoint library. I want to open this document in edit mode, but now ...
1
vote
1answer
126 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!
2
votes
1answer
82 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" ...
0
votes
0answers
163 views

Can't use all SPFileCollection.Add methods with sand boxed solution?

I'm copying items based on a queue (custom list) and an event receiver which looks at when items are added to that queue, but the method I need to use SPFileCollection.Add(String, Stream) is ...
0
votes
0answers
1k views

Read excel file from sharepoint document library in office 365 programmatically

I have one excel file uploaded in document library of office 365 site.I want to read this excel file using c# as we read in farm solution using following code. using (SPSite site = new ...
1
vote
1answer
287 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 ...
0
votes
0answers
19 views

Limit filetype for one Document Library in a site? [duplicate]

I have a document library in our main site that I'd like to restrict to PDF's only. I know I can block filetypes for an entire site, but is there a way I can limit a particular library to only accept ...
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 ...
2
votes
1answer
177 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
3answers
167 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
0answers
84 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
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?