Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to upload file from client to server?

Status
Not open for further replies.

rhapsody

Programmer
Sep 27, 2002
18
PH
I'm tryinh to upload a file...pretty much like in email attachment.
I'm using ASP and VBScript File System Object...the problem is when i check if the file to be upload exist in the client directory using fileExist,the file doesn't seem to exist.I think the problem is that the program doesn't look at the clients directory but to the servers's directory.
what should i do so that it will search at the clients directory.
 
You can't use asp to check to see if a file is on a client machine, as ASP is server side language. A client machine can only upload a file if it is on their machine!

once you have uploaded, you can check to see if it exists on the server machine. ( also check that you have the right permissions o the upload folder)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top