<<< Back to the TFU FAQ
4. I cannot upload large files because the upload limit does not allow this!
There are some limits when you upload files. If you have the unregistered version you can only have 3 MB in the upload queue. This is the only limitation of the freeware flash. If you use the registered version and the flash says still something like -
Upload maximum file size (per file): 2048 k.
Then this settings are because of your limitations of your php installation. The uploader checks the limitations and sends them to the flash. There are two settings you can change to increase this limits in php.ini (see
Set this limits to the maximum file size you want to allow to upload (or ask your hoster to do his if you don't have access to the php.ini (see
howto 14)). There are maybe other restrictions like timeouts you should maybe test. I have successfully uploaded an over 1.8 GB file on my system. It takes quite long because after the upload php copies the file from the temp dir to the real dir. Sometimes big upload do not work because there are file size limits on the server - ask your hoster if there is something like that. If you find out any special settings you changed to make the flash made working on the system - please let me know - I'll add this info to the FAQ.
A maximum of 2 GB per file is possible with an optimal server configuration because 32 bit server and all major browsers do not support more.
Sometimes your server itself has some restrictions too. If you use Apache you get a http 413 error if LimitRequestBody and/or
in the configuration (httpd.conf or htaccess) is not set high enough. If you use IIS you might get an error 404 during the upload. Then you have to increase maxAllowedContentLenght (IIS7 configuration Editior: system.webServer/security/requestFiltering -> request limits). The default is ~ 30 MB. For IIS you can also enable 'Failed Request Tracing' like described
If you get errors (most of the time IO errors) during the upload although you have increased the upload limits it's possible that your
are not set high enough. The times have to be higher than the maxumum upload time you want to allow. Be aware that other user might have slower connections too! If you change the settings and nothing happens it is on some server needed to restart them.
This settings can be set by a .htaccess file on some systems as well (see
howto 14). If you still have restrictions please check if this settings are set like this. Depending on the server configuration it is possible to set this variables with .htaccess too! But you have to try if this works for you. The flash tells you at the startup what's your limit!
The normal upload works fine but if you want to resize images the upload fails. If you have this problem your php memory is to low. You cna solve this by:
- Increasing the php memory limit. This can be done by changing the vale memory_limit in php.ini (see
howto 14). If you call tfu_config.php then the memory limit is shown and the maximum resolution which can be processed
- Using image magick. You have to have image magic installed on your server. If you have TWG installed on your server as well you can check this by calling info.php.
You can enable it by setting $use_image_magic=true in the tfu_config.php. TFU uses the command line version if image magick. $image_magic_path defines the path to the convert command. Either specify the full path or put convert to the path. Ask your hoster if you don't know if it is installed.