XUpload - max_upload_filesize exceeded, no error message

Message
Author
saadava
Posts: 6
Joined: May 10, 2008 1:24 pm

max_upload_filesize exceeded, no error message

#1 Postby saadava » Jun 18, 2008 7:39 pm

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

saadava
Posts: 6
Joined: May 10, 2008 1:24 pm

max_upload_filesize exceeded, no error message

#2 Postby saadava » Jun 18, 2008 9:35 pm

Just to clarify, this is this is xupload 3.0 pro - January 2008

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

Re: max_upload_filesize exceeded, no error message

#3 Postby admin » Jun 20, 2008 11:33 am

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.

saadava
Posts: 6
Joined: May 10, 2008 1:24 pm

Re: max_upload_filesize exceeded, no error message

#4 Postby saadava » Jul 06, 2008 11:27 am

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

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#5 Postby PilgrimX182 » Jul 07, 2008 7:37 am

You can see
File Status:filesize too big
in our post.php after upload complete. File status posting in "file_status" field.

saadava
Posts: 6
Joined: May 10, 2008 1:24 pm

Re: max_upload_filesize exceeded, no error message

#6 Postby saadava » Jul 10, 2008 8:39 am

Cheers - I understand this now.