Error log


I just tried to upload a bunch of files and discovered that there is a limit to 2097152 bytes (hard coded in SPFileZilla?). The error this produced was handled very quietly. This is a BAD thing. It also handles other limitations badly (meaning quietly).
If a there is a problem with an operation I need to know. That fact that I don't get a warning or an error log makes this tool almost useless for my purposes.

file attachments


bandrben wrote May 16, 2014 at 6:45 PM

Sorry that you don't want to use my free product. I assume you are connecting to SharePoint Online. As for the reason for failure, the product uses the the SaveBinaryDirect method to upload files when connecting to on-premises, but that method is not supported (or not working properly for me and others, see here: http://sharepoint.stackexchange.com/questions/70562/savebinarydirect-throws-unauthorized-when-the-client-object-model-works-fine) when connecting to SharePoint Online. So I use the built-in SPCOM way to upload a file, FileCreationInformation. But, in SharePoint Online this has a restriction of either 2MB or 3MB. I've seen recommendations to use REST but didn't want to update my code to use REST only for SP2013, since the product uses SPCOM for all SharePoint operations, and supports SP2010, SP2013, and SPOnline concurrently. And, I haven't found any good examples of uploading files to SharePoint Online from C# using REST.

I'll consider adding REST support or some other method to upload larger files to SharePoint Online, but not sure when a release will be available.

TractionCRM wrote Oct 15, 2014 at 12:34 AM

By implementing Steve Curran's notes from his blog post, large files will upload fine.
  1. Upgrade the app to .net 4.0
  2. Update the SharePoint DLLs to the 2013 redistribution dlls
  3. Change UploadFileToSharePoint to the following text file
Thank Steve (not me)...

Steve's blog post - Uploading Large Files to Sharepoint

/joe @ TractionCRM.com

scr1b3s wrote Nov 10, 2014 at 5:15 PM


Can you elaborate how you were able to upload large files using SPFilezilla?

Upgrade the app to .net 4.0 - I think this is already done since I downloaded the latest version of SPFilezilla

Update the SharePoint DLLs to the 2013 redistribution dlls - Installed Visual C++ Redistributable Packages for Visual Studio 2013

Change UploadFileToSharePoint to the following text file - Which text did you use and where do I put this file?

bandrben wrote Nov 11, 2014 at 5:37 PM

I updated SPFileZilla to support uploading large files (over 2 MB) to SPOnline, its included in the 2013 EXE release (recommended release). Thanks for the feedback and help!