ASP.NET - check image file size before upload - Asked By dev rathore on 07-Aug-12 05:03 AM

Hi

I have a form that use 1 fileupload controls, they only allows images to be uploaded, but I would also like to check the files size before a upload is being made. Is there a way to do this on the client?

Thanks in advance.

Regards
Devendra

Peter Bromberg replied to dev rathore on 07-Aug-12 08:33 AM
No. You only have access to the file to be uploaded in the HTML File Upload control, and other access to the client's filesystem in not permitted for security reasons.