Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 493
Product
FileUp
Title
Is there any way to place the uploaded files in a directory that is relative to the virtual root of the Web server?
Solution

Yes. Use ASP's built-in Server.Mappath("\vroot") function to map the virtual path to a physical path.

The code would look like this:
upl.SaveAs Server.Mappath("\upload") & "\" & filename

Created : 12/1/2002 12:00:00 AM (last modified : 9/18/2002 6:52:43 PM)
Rate this article!
Comments