Html file creation from ASP

Results 1 to 2 of 2

Thread: Html file creation from ASP

  1. #1
    Join Date
    Dec 1969

    Default Html file creation from ASP

    While attempting to create an HTM file in my webserver from ASP using file system object,by default the file will be created in system root folder(i.e c:inetpubwwwroot).But I need to create it in my own folder from where I will be accessing that file.<BR>While attempting to read the contents of that file from ASP. IT asks for the authentication.<BR>I need the solution for this?

  2. #2
    Kasper Guest

    Default RE: Html file creation from ASP

    Use Server.MapPath() to point to your current directory, and make sure you have write permission to that dir.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts