0
votes
1answer
46 views

Unable to add .exe file to SharePoint 2010 using Client Object model after it has been removed from blocked files list

Language: C# Framework: .Net 4.5.1 Environment: SharePoint 2010 - Windows Server 2008 R2 My software is used to upload files to sharepoint. It works perfectly well for the majority of files. However, ...
1
vote
2answers
69 views

ItemUpdated not firing when document is added to non-default document library

I have an item receiver that implements ItemUpdated() to process an item after it has been uploaded to a document library. Everything works fine if I add documents to the default "Shared Documents" ...
0
votes
0answers
65 views

ListView exception on custom aspx page

I have a button "Upload file", which allows me to upload files to my custom folder inside some document library. I want to add a listview for that library, to see which files were already uploaded. ...
1
vote
2answers
344 views

running SharePoint utility on non-SharePoint server

I wrote a utility in C# to copy files from a network directory to a SharePoint document library. When the sys admin tries to run the .exe from a non-SharePoint server, he gets the following error: ...
0
votes
0answers
134 views

Can I curl file with title to sharepoint?

Since file title is required field in my sharepoint folder, a file was in checkout status after I ran the command (curl --anyauth --user NAME:PASSWORD -T filename sharepointfolder) from Unix. My ...
1
vote
1answer
49 views

Reupload the document (update)

I'm writing now code agains the document library, that code adds files to the document library. Basically what I want to do is, when the particular file already exists in the document library with the ...
2
votes
5answers
20k views

how to upload file to sharepoint doc library via c# application?

I need to upload files with specific information(custom fields) into sharepoint document library via custom windows application. I have no idea how to do it, anyone has any examples how to do it ...
3
votes
1answer
3k views

How do I save files that are larger than 1MB using the Client Object Model?

I'm trying to save a file to an SP document library using the Client Object Model: //populate information about the new file, from disk FileCreationInformation fci = new FileCreationInformation(); ...
2
votes
1answer
472 views

How to upload an XDocument to a document library without a local hard drive path?

I have seen code such as: String fileToUpload = @"C:\YourFile.txt"; String sharePointSite = "http://yoursite.com/sites/Research/"; String documentLibraryName = "Shared Documents"; using ...
1
vote
3answers
796 views

Upload document to SharePoint document library using batch in C#

I want to know if i can upload a document to sharePoint document library using batch in C#. I know how to update and delete it using batch, but i don't know how to upload it. If i can't, what is the ...
5
votes
1answer
847 views

Can't get OfficialFile.SubmitFile to work

I'm trying to write a literal SOAP call (I'm integrating from a remote non-windows machine) to submit a file which currently resides in the drop-off library of the site. I created a simple file, ...
2
votes
2answers
1k views

Web Part with its FileUpload control causing “Webpage has expired” Error !

My problem precisely and concisely is that I developed a web part which contains a FileUpload control and the web part in general works correctly except for one issue. Whenever I use the web part then ...