Creating a text file

Results 1 to 4 of 4

Thread: Creating a text file

  1. #1
    Join Date
    Dec 1969

    Default Creating a text file

    I had programmed a asp page such that it creates an text file on the web server on which the asp page is executed.<BR>Can I know how to create a text file from asp in the client&#039s computer, who is browsing the asp page.

  2. #2
    Join Date
    Dec 1969

    Default You can't

    it&#039d be a security risk, as if you can create a text file, you can create nasty virus scripts.....<BR><BR>j

  3. #3
    Eddie Campbell Guest

    Default RE: You can't

    Atrax is right, but what you could do is create the text file on the server and display it as a link to the user who can then choose to download it.

  4. #4
    Join Date
    Dec 1969

    Default Even then you need a 3rd partyu component

    Even after that you will need a 3rd party component like ASPUpload you download the file to te client unless you save all files with a .zip extension and tell the user to chasnge it to .txt before viewing.

Posting Permissions

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