Upload file size limit

cancel
Showing results for 
Search instead for 
Did you mean: 
ezernova
Member II

Upload file size limit

Hi all! I'm trying to set a maximum upload file size limit with the command system.content.maximumFileSizeLimit, but it only works when I add files via web interface, or webdav. When I access alfresco as a shared folder (\\myserver\alfresco\sites\...) no exception is thrown and the file is uploaded. 

How do I make it work?

6 Replies
angelborroy
Alfresco Employee

Re: Upload file size limit

Is Shared folder mapped by using CIFS, WebDAV or SPP (AOS)?

Hyland Developer Evangelist
ezernova
Member II

Re: Upload file size limit

It's CIFS.

angelborroy
Alfresco Employee

Re: Upload file size limit

It looks like this property is ignored by CIFS & FTP servers.

Hyland Developer Evangelist
ezernova
Member II

Re: Upload file size limit

Is there any other way to set a file size limit for CIFS then?

angelborroy
Alfresco Employee

Re: Upload file size limit

AFAIK there is not option by configuration. Probably customising AbstractContentWriter or FileContentWriter Java classes. But I've never tried.

Hyland Developer Evangelist
ezernova
Member II

Re: Upload file size limit

Ok, thank you.