Directory Content Poblem

Results 1 to 2 of 2

Thread: Directory Content Poblem

  1. #1
    Join Date
    Dec 1969

    Default Directory Content Poblem

    Hi to all<BR>I need help from some one<BR>I have a temp folder on web server<BR>Temp folder always contain one file.<BR>type of the file may be different i.e. zip, doc etc<BR>I am sending mail to some clients<BR>I want to attach temp folder file as attachment<BR>Now problem is i dont know how to get file path from temp folder<BR>Please Help me<BR>Thanks in Advance<BR>

  2. #2
    Join Date
    Dec 1969

    Default Where does the folder sit?

    Is it within in the web root? If it is, use "Server.MapPath" to get the physical path.<BR><BR>For example, your temporary folder is at "" and the web root it "C:MyDataInetpub\", Server.MapPath("") would return "C:MyDataInetpub emp".<BR><BR>I hope this makes sense.<BR><BR>Oliver.

Posting Permissions

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