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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specifying the path on creation of a Textfile

Status
Not open for further replies.

shaunk

Programmer
Aug 20, 2001
402
AU
I have a form posting data to an Active Server Page that then writes the form field values to a file. The form sends the name of the file to ASP (I wish to send different filenames depending on who is using the form)
It checks for the existence of a filename which is based on the current date......if it is not there it creates and write/appends to the file...if it is there it just write/appends to the file.
The only problem I have is that I don't know how to specify that the file be created in a directory on the Webserver.
Currently, it demands a path on the local client.
I have IIS running on my home PC.
Is this what the MapPath comamnd is about ?
Thanks.
 
yes.

see this explanation:

hth,
Foxbox
ttmug.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top