Size of Binary Data

  

Hello Guys,


I'm using the input widget and when i use an ajax action to see the File Size, in the debugger gives me that he has 0 bytes.

Can you help me?


Thanks for the help,

NM

Hi Nelson,

Do you mean the Upload widget? If so, when are you trying to check the file size? Before or after submitting it to the server?


Cheers,

Tiago.

Hi there, yes its the upload widget and i'm trying to check the size before yes.

Thx for the quick response :)

Natively you can only do it after uploading the file. Another thing is that to upload the file, you must use a submit action.

There are other ways however. Please check this past post.