Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-06 16:49:45

jakealmond
New Member
Registered: 2009-04-06
Posts: 4

File Upload Limitations

Hi All,

I am trying to understand the ‘Maximum file size of uploads’ setting in the Admin area of Textpattern.

My intention is to upload mp3s of my work, as an online portfolio. Using the cpanel software for my webspace, I can upload my mp3s with no problems.

I would like to use Textpattern to upload my files, however I cannot increase the ‘Maximum file size of uploads’ beyond 2,097,152 bytes. The built in help says:

“If Textpattern detects that your PHP configuration only allows smaller downloads it will automatically correct this value downwards”. Where I am confused is that I can upload larger files using the cpanel or FTP with no issues.

My query then would be, what do I have to do to get textpattern to allow larger files? :)

Many thanks

Jake Almond

Offline

#2 2009-04-06 18:04:11

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,733
Website

Re: File Upload Limitations

If I’m not mistaken the apache server setting upload_max_filesize only applies to http uploads (e.g. uploads through a public-facing part of the website) and not your own ftp account. It’s usually set in php.ini or vhost.conf which depending on your hosting package you may or may not have access to. There are some other suggestions in this thread.

Txp’s setting allows you to lower this if you need to, but AFAIK cannot override the server settings.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2009-04-06 21:06:14

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: File Upload Limitations

For large files it’s better (and faster) to ftp them to your files directory. You can then choose ‘Existing file’ in the files tab and still manage them through Txp.

Offline

#4 2009-04-08 23:09:35

jakealmond
New Member
Registered: 2009-04-06
Posts: 4

Re: File Upload Limitations

Many thanks!

Offline

Board footer

Powered by FluxBB