Is it possible to check for file extension/type (and maybe file size) before uploading it to my server? I found couple JS file extension checker on the web and they would prompt for the unexpected extension but still it would submit the form! (note that my pages are written in coldfusion which doesn't make any difference to run a JS code as I am running many of them all the time.)
I'm really afraid of blocking unwanted files after uploading them to my server. I don't want people upload a 200GB file to my server and then tell them "oops, your file is greater than 2MB ...".
Or maybe is there a way to tell my server to timeout if the file is over 2MB?
I really appreciate if I can get some feedback regarding my problem.
Thanks,
Mike
I'm really afraid of blocking unwanted files after uploading them to my server. I don't want people upload a 200GB file to my server and then tell them "oops, your file is greater than 2MB ...".
Or maybe is there a way to tell my server to timeout if the file is over 2MB?
I really appreciate if I can get some feedback regarding my problem.
Thanks,
Mike