|
-
Dec 14th, 2004, 09:59 AM
#1
Thread Starter
Addicted Member
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
-
Dec 14th, 2004, 10:29 AM
#2
PowerPoster
Re: Check if a file exists on the client
-
Dec 14th, 2004, 11:29 AM
#3
Thread Starter
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|