Writing to a file

Discussion in 'ASP General' started by joethis, Oct 4, 2004.

  1. joethis

    joethis Guest

    I have an asp page that is supposed to write text to a text file. I know how
    to write to a text file using Server.MapPath, but how to I write to a file
    that is on another server?
    joethis, Oct 4, 2004
    #1
    1. Advertising

  2. You could use a UNC path, but since the ASP process runs under the IUSR
    account, that account needs to have access to write to the other server.

    --
    Manohar Kamath
    Editor, .netWire
    www.dotnetwire.com


    "joethis" <> wrote in message
    news:...
    > I have an asp page that is supposed to write text to a text file. I know

    how
    > to write to a text file using Server.MapPath, but how to I write to a file
    > that is on another server?
    Manohar Kamath, Oct 4, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Kamoski
    Replies:
    1
    Views:
    2,435
  2. BLF
    Replies:
    4
    Views:
    1,260
    Mike Treseler
    Aug 7, 2004
  3. John Carnahan

    File Access error - writing to .txt file

    John Carnahan, Jul 18, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    783
    John Carnahan
    Jul 18, 2003
  4. JuneCleaver

    Writing to a log file with in an aspx file.

    JuneCleaver, Apr 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,036
    Juan Romero
    Apr 8, 2004
  5. HNguyen
    Replies:
    4
    Views:
    2,372
    HNguyen
    Dec 21, 2004
Loading...

Share This Page