coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: atomant on September 17, 2008, 08:36:29 AM

Title: Uploading large files with XP publish
Post by: atomant on September 17, 2008, 08:36:29 AM
Hi!

I have installed and running CPG 1.4.19 on FreeBSD 7 amd64. In my php.ini I have set php uploads on, with memory limit 512 MB, filesize upload limit 512 MB, time of 300 sec. Also in the CPG I have setup the filesize limit to 512 MB. The problem is when I try to upload files larger than 250 MB. It start the upload and then it failed with no error in the any of the logs (apache, console, debug).
Uploading large files thru CPG web interface works fine.
Is there some settings for XP publisher file size limit?

Regards,
Sasa
Title: Re: Uploading large files with XP publish
Post by: Hein Traag on September 17, 2008, 11:20:08 AM
I assume you are hosting your own website. If that is the case then why not use ftp to upload the content? Safer way to be sure the content does get to where it is supposed to go.
Title: Re: Uploading large files with XP publish
Post by: Joachim Müller on September 17, 2008, 05:57:17 PM
There are several other timeouts that can have an impact (e.g. in your browser). For files larger than 5 MB you should definitely use batch-add.
Title: Re: Uploading large files with XP publish
Post by: atomant on September 25, 2008, 01:32:14 PM
Yes, batch-add but ordinary users can't batch add, only admins can and I do not want to give admin rights to everyone.
Title: Re: Uploading large files with XP publish
Post by: Joachim Müller on September 26, 2008, 07:27:59 PM
250 MB is ridiculous - I can't recommend allowing your users to upload such large images. Since XP Publisher only takes care of images afaik there is no point in looking for special switches there.