| View previous topic :: View next topic |
| Author |
Message |
saadava
Joined: 10 May 2008 Posts: 6
|
Posted: Jun 18, 2008 7:39 pm Post subject: max_upload_filesize exceeded, no error message |
|
|
Hi,
This is xupload 3.0 January 2008. I have a problem with uploading files > max_upload_filesize.
In my configuration:
max_upload_size => 5
max_upload_filesize => 3
When a file greater than 3Mbytes is uploaded, the end user sees an apparently successful upload. The server however, fails the upload because the file size is too big (as it should).
So the user doesn't know that the upload actually failed.
Any ideas?
Simon |
|
| Back to top |
|
 |
saadava
Joined: 10 May 2008 Posts: 6
|
Posted: Jun 18, 2008 9:35 pm Post subject: max_upload_filesize exceeded, no error message |
|
|
| Just to clarify, this is this is xupload 3.0 pro - January 2008 |
|
| Back to top |
|
 |
admin Site Admin
Joined: 22 Mar 2006 Posts: 126
|
Posted: Jun 20, 2008 11:33 am Post subject: Re: max_upload_filesize exceeded, no error message |
|
|
| saadava wrote: | Hi,
This is xupload 3.0 January 2008. I have a problem with uploading files > max_upload_filesize.
In my configuration:
max_upload_size => 5
max_upload_filesize => 3
When a file greater than 3Mbytes is uploaded, the end user sees an apparently successful upload. The server however, fails the upload because the file size is too big (as it should).
So the user doesn't know that the upload actually failed.
Any ideas?
Simon |
Hello,
swap these values, so you will have:
max_upload_size => 3
max_upload_filesize => 5
That should help (we will fix naming in next ver).
P.S. Note that script able to track only total upload size prior uploading (and give proper error). And each individual file size limit will be tracked (and reported if incorrect) after upload is complete. |
|
| Back to top |
|
 |
saadava
Joined: 10 May 2008 Posts: 6
|
Posted: Jul 06, 2008 11:27 am Post subject: Re: max_upload_filesize exceeded, no error message |
|
|
Hi,
When I set these values as you suggested, and upload a 4Mbyte file I get a popup saying:
ERROR: Maximum total upload size exceeded
Please stop transfer right now.
Max total upload size is: 3 Mb
This is with the following config values:
# Minimum/Maximum Total upload size limit in MBytes (empty or zero to disable)
min_upload_size => 0,
max_upload_size => 3,
# Minimum/Maximum upload Filesize limit in Mbytes (empty or zero to disable)
min_upload_filesize => 0,
max_upload_filesize => 5,
Simon |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1055 Location: Undisclosed location
|
Posted: Jul 07, 2008 7:37 am Post subject: |
|
|
You can see
| Quote: | | File Status:filesize too big |
in our post.php after upload complete. File status posting in "file_status" field. |
|
| Back to top |
|
 |
saadava
Joined: 10 May 2008 Posts: 6
|
Posted: Jul 10, 2008 8:39 am Post subject: Re: max_upload_filesize exceeded, no error message |
|
|
| Cheers - I understand this now. |
|
| Back to top |
|
 |
|