Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Thursday, February 24, 2005 3:02:00 AM(UTC)

Rank: Member

Groups: Member
Joined: 2/6/2005(UTC)
Posts: 5

There is a bug with the MaxFileSize param, whereby setting the param to 0 or a negative number will allow the user to upload as many files as he or she desires. To counter this, we have caught the problem in server side code and are setting the MaxFileSize to 1 bit in the event that the number comes out to a 0 or negative number.

Would be very nice to see this fixed in future versions.

#2 Posted : Wednesday, March 2, 2005 12:38:00 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hello Andrew,

It is quote from documentation:

MaxFileSize Property

Specifies the maximum file size (in bytes) allowed to be uploaded to the server. Use MaxTotalFileSize property to specify overall limit for upload size.

Non-negative integer value. If the value is 0 then there is no limit.

Default value is 0 (no limit).

Don't you find that it is by design behaviour?

Best regards,

Fedor Skvortsov

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.