|
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.
|
|
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!
|
|
Rank: Member Groups: Member
Joined: 5/6/2010 Posts: 18
|
Thank You!
|
|
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.
|
|
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!
|
|