Check if a file exists on the client
Hey there
I'm doing a web app in vb.net / asp.net and I need the client to upload a picture to the server. I'm using the HTMLInputbox of type file to upload the file (this is the typical way to do it right?).
Now in case the client enters in any arb letters into the input box and clicks upload, I want to first check if that file exists on the clients PC. Can I do this? The File.Exists(Path) function checks on the server and not on the client.
help!
Thanks
Patch
Re: Check if a file exists on the client
Re: Check if a file exists on the client
Thanks
Yeah they just use a try catch block. I suppose I could just do that and display a general error message.