Hi, i want to create a form to upload a file on a server. My problem is
that i want to check the filesize before sending it because if the
filesize is superior than 2 MB it failed and i don't want to wait for a
long time for uploading a file that will fail.
Can you please give me a solution to check the filesize.