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

Notification

Icon
Error

Options
Go to last post Go to first unread
Jason Cheng  
#1 Posted : Sunday, March 28, 2010 2:01:08 PM(UTC)
Jason Cheng

Rank: Newbie

Groups: Member
Joined: 3/28/2010(UTC)
Posts: 3

Anyone can tell me what is the Max. value of MaxFileSize & MaxTotalFileSize property?

I've set the MaxTotalFileSize to 1073741824(1GB) but the IU just allow user to upload unlimited file.

iu.addParam("MaxTotalFileSize",1073741824);

When I set it to 524288000(500MB), it'll prompt error once user select file more than 500MB

iu.addParam("MaxTotalFileSize",524288000);

Jason Cheng  
#2 Posted : Sunday, March 28, 2010 7:11:27 PM(UTC)
Jason Cheng

Rank: Newbie

Groups: Member
Joined: 3/28/2010(UTC)
Posts: 3

The MaxTotalFileSize value 1GB & 2GB work on ActiveX version, but failed on Java version.

Value larger than 2GB failed on BOTH. I assume the data type is signed integer for ActiveX version, and thus the max value is 2147483648 (2G).

How about the Java version?

Tamila  
#3 Posted : Sunday, March 28, 2010 7:59:26 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi Jason,

I just tried to reproduce this problem locally. Actually Image Uploader ActiveX worked properly in all cases. However Image Uploader Java worked incorrectly and our developers will fix it in future releases.

Could you please clarify what version of OS and IE you use when the problem with IU ActiveX appears.

Also post the line with MaxTotalFileSize value which does not work in ActiveX.

Edited by user Sunday, March 28, 2010 8:06:07 PM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Jason Cheng  
#4 Posted : Thursday, April 8, 2010 6:48:56 PM(UTC)
Jason Cheng

Rank: Newbie

Groups: Member
Joined: 3/28/2010(UTC)
Posts: 3

Thanks for the response.

I've tested on Windows XP, Windows 7 (both 32bit & 64bit). IE 6 & IE8.

The 2G values work on IE8 but sometimes not working with IE6.

When I set the value to 2G, and if I choose files with more than 2G size. The Uploader just "freeze" without any message.

For Java version, during my testing. I can set maximum 1G value only. Value like 1.5G, 2G act like assigned unlimited (0) value. Tested on Chrome, Safari, Firefox.

My JSP code

iu.javaAppletCached = true;

iu.javaAppletVersion = "6.1.4.0";

<c:choose>

<c:when test="${maxFileSize} lt 0">

iu.addParam("MaxFileSize", 0);

</c:when>

<c:otherwise>

iu.addParam("MaxFileSize",${maxFileSize});

</c:otherwise>

</c:choose>

iu.addParam("MaxTotalFileSize",${maxTotalSize});

Where maxFileSize & maxTotalSize are configurable parameter.

Tamila  
#5 Posted : Friday, April 9, 2010 2:01:51 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Jason,

Thank you for information. Unfortunately I still cannot reproduce the problem with Image Uploader ActiveX.

What kind of files you tried to select and how many?

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
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.