Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Writing to Server

    Hi there

    I want to write to the server with a Brinkster type account setup
    using ASP.net.
    I kinda understand how to do it on my own server. It seems pretty
    straight forward to write to a C:\Temp etc. But when i try to get a
    little bit clever and try a write to something like

    request.applicationpath + "/mydir/myfile.pdf"

    It fails. I get a cant access c:\system32 or some other local file
    system error.

    In the given scenario how do i format the write path??

    Im trying not to store my images/pdfs in a Db (because it costs more
    money). I instead want my users to be able to upload their files to my
    web space and then i will just store the reference to that file in the
    Db and as the pdfs are downloaded.

    TIA

    Henry
    Admin Guest

  2. Similar Questions and Discussions

    1. I?ve got a problem writing files on the server side withFlash Media Server 2.0.2 and 2.0.3.
      Hello, I?ve got a problem writing files on the server side with Flash Media Server 2.0.2 and 2.0.3. The same code was working fine with an older...
    2. Writing a DIV tag?
      Starting to mess with writing to the HtmlTextWriter, and have a question about divs. Why is it that HtmlTextWriterTag.Div writes a *table*, when...
    3. Writing To The Server
      I am a complete and utter Macromedia noob. I've *just* started learning Director and Flash but am trying to look ahead to what I ultimately want to...
    4. Can I use PHP for selecting and writing data into a server-database?
      Hi, I like to build a small simple dinamic website: Point-of-sale (detail-shop), So entering stock, logging all sales, print out invoices and...
    5. Writing a custom server.
      Hello, I am writing a custom server(www), and I need to use php. Right now I have it set up to just envoke php on the command line if the...
  3. #2

    Default Re: Writing to Server

    try using PhysicalApplicationPath instead of ApplicationPath.

    hth
    Pete

    "Admin" <intermension@hotmail.com> wrote in message
    news:37881286.0307052127.4d0b684@posting.google.co m...
    > Hi there
    >
    > I want to write to the server with a Brinkster type account setup
    > using ASP.net.
    > I kinda understand how to do it on my own server. It seems pretty
    > straight forward to write to a C:\Temp etc. But when i try to get a
    > little bit clever and try a write to something like
    >
    > request.applicationpath + "/mydir/myfile.pdf"
    >
    > It fails. I get a cant access c:\system32 or some other local file
    > system error.
    >
    > In the given scenario how do i format the write path??
    >
    > Im trying not to store my images/pdfs in a Db (because it costs more
    > money). I instead want my users to be able to upload their files to my
    > web space and then i will just store the reference to that file in the
    > Db and as the pdfs are downloaded.
    >
    > TIA
    >
    > Henry

    PJ Lee Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139