Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader.getTotalBytes() returns incorrect size in case files are bigger then 2Gb Options
Web Cotrols
Posted: Wednesday, July 28, 2010 8:22:30 AM
Rank: Member
Groups: Member

Joined: 5/6/2010
Posts: 18
AJAXUploader.getTotalBytes() returns incorrect size in case files are bigger then 2Gb.

Also, is it possible to receive total files size planed for uploading in ClientSideOnStart event not in ClientSideOnProgress ?

Thank you.
eo_support
Posted: Wednesday, July 28, 2010 9:04:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is a browser issue. The HTTP protocol uses a "number" to represents the length. Most browsers do not expect users to upload a file of that big and implements it as an integer, which imposes a hard limit of 2GB.

It is not possible to receive the total file size in ClientSideOnStart because the file size is in the request header sent to the server. So there is no way to acquire that information before the upload starts.

Thanks!
Web Cotrols
Posted: Friday, July 30, 2010 11:22:53 AM
Rank: Member
Groups: Member

Joined: 5/6/2010
Posts: 18
Thank You!
Web Cotrols
Posted: Friday, July 30, 2010 1:53:40 PM
Rank: Member
Groups: Member

Joined: 5/6/2010
Posts: 18
Is it possible to update Uploader control to receive total files size planed for uploading (getTotalBytes() method of Uploader control) in ClientSideOnStart event not only in ClientSideOnProgress ?

Thank you.
eo_support
Posted: Friday, July 30, 2010 1:58:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. That is not technically possible as already explained in our previous post.

Thanks!


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.