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

  1. #1

    Default ASP temp files

    I have an ASP .NET page where a user uploads file, then this file is
    processed and finaly a result file is downloaded to user.
    My question is: Is there a way to find if user have downloaded the file, so
    I can remove it from server?

    TIA


    Nikolay Petrov Guest

  2. Similar Questions and Discussions

    1. .swf not to stay in temp internet files
      hi, generally (i think) is that when you publish a .fla into .swf and insert it a img source into dreamweaver when viewer's visit the site you...
    2. AI Temp files
      Cannot seems to get rid of an ever increasing amount of AI Temp files (I assume that they are Illustrator files). And I cannot copy Folders to my...
    3. Temp Files
      I have Windows XP and office XP. When I open up my documents I have in some of my folders some files called WRL tmp. Which I believe are...
    4. Deleting temp files
      We have a new problem that just started last week with one computer on our network. It is a Dual processor G4 running os9.2 and illustrator 9.02 ...
    5. Illustrator generating temp files
      I have the same problem. And once these temp files are created they cannot be deleted. So now I have a bunch of files that can't be deleted. Very...
  3. #2

    Default Re: ASP temp files

    Hi.
    I know it's not what you're looking for,
    but it's a possible solution.
    You can run a process once a day, that removes day old files.
    Regards.


    "Nikolay Petrov" <johntup2@mail.bg> wrote in message
    news:udmTbWQtEHA.3004@TK2MSFTNGP10.phx.gbl...
    > I have an ASP .NET page where a user uploads file, then this file is
    > processed and finaly a result file is downloaded to user.
    > My question is: Is there a way to find if user have downloaded the file,
    so
    > I can remove it from server?
    >
    > TIA
    >
    >

    Sharon Tal Guest

  4. #3

    Default Re: ASP temp files

    If you stream the file using Response.WriteFile you should be able to delete
    then this file following this streaming statement...

    Patrice

    --

    "Nikolay Petrov" <johntup2@mail.bg> a écrit dans le message de
    news:udmTbWQtEHA.3004@TK2MSFTNGP10.phx.gbl...
    > I have an ASP .NET page where a user uploads file, then this file is
    > processed and finaly a result file is downloaded to user.
    > My question is: Is there a way to find if user have downloaded the file,
    so
    > I can remove it from server?
    >
    > TIA
    >
    >

    Patrice Guest

  5. #4

    Default Re: ASP temp files

    So say the connection was dropped half way thru the transmission to the
    client (internet connection problems, end-user closed browser prematurely,
    etc) then wouldn't the delete still run even though file wasn't completely
    received by the client?


    "Patrice" <nobody@nowhere.com> wrote in message
    news:eATXvhRtEHA.3412@TK2MSFTNGP14.phx.gbl...
    > If you stream the file using Response.WriteFile you should be able to
    delete
    > then this file following this streaming statement...
    >
    > Patrice
    >
    > --
    >
    > "Nikolay Petrov" <johntup2@mail.bg> a écrit dans le message de
    > news:udmTbWQtEHA.3004@TK2MSFTNGP10.phx.gbl...
    > > I have an ASP .NET page where a user uploads file, then this file is
    > > processed and finaly a result file is downloaded to user.
    > > My question is: Is there a way to find if user have downloaded the file,
    > so
    > > I can remove it from server?
    > >
    > > TIA
    > >
    > >
    >
    >

    ESPN Lover Guest

  6. #5

    Default Re: ASP temp files

    AFAIK the server doesn't care. The page will run unless you tell otherwise
    (IsClientConnected if I remember).

    Patrice

    --

    "ESPN Lover" <espn@lover.com> a écrit dans le message de
    news:OjqlIrStEHA.2788@TK2MSFTNGP09.phx.gbl...
    > So say the connection was dropped half way thru the transmission to the
    > client (internet connection problems, end-user closed browser prematurely,
    > etc) then wouldn't the delete still run even though file wasn't completely
    > received by the client?
    >
    >
    > "Patrice" <nobody@nowhere.com> wrote in message
    > news:eATXvhRtEHA.3412@TK2MSFTNGP14.phx.gbl...
    > > If you stream the file using Response.WriteFile you should be able to
    > delete
    > > then this file following this streaming statement...
    > >
    > > Patrice
    > >
    > > --
    > >
    > > "Nikolay Petrov" <johntup2@mail.bg> a écrit dans le message de
    > > news:udmTbWQtEHA.3004@TK2MSFTNGP10.phx.gbl...
    > > > I have an ASP .NET page where a user uploads file, then this file is
    > > > processed and finaly a result file is downloaded to user.
    > > > My question is: Is there a way to find if user have downloaded the
    file,
    > > so
    > > > I can remove it from server?
    > > >
    > > > TIA
    > > >
    > > >
    > >
    > >
    >
    >

    Patrice Guest

  7. #6

    Default Re: ASP temp files

    For my current project droping the connection in half of file is not
    problem, the user can resubmit the source file again, because it size is
    rather small.
    So if Response.WriteFile is used the next line is executed after the user
    have downloaded the file, right?

    "Patrice" <nobody@nowhere.com> wrote in message
    news:%23YWYTHTtEHA.2196@TK2MSFTNGP14.phx.gbl...
    > AFAIK the server doesn't care. The page will run unless you tell otherwise
    > (IsClientConnected if I remember).
    >
    > Patrice
    >
    > --
    >
    > "ESPN Lover" <espn@lover.com> a écrit dans le message de
    > news:OjqlIrStEHA.2788@TK2MSFTNGP09.phx.gbl...
    >> So say the connection was dropped half way thru the transmission to the
    >> client (internet connection problems, end-user closed browser
    >> prematurely,
    >> etc) then wouldn't the delete still run even though file wasn't
    >> completely
    >> received by the client?
    >>
    >>
    >> "Patrice" <nobody@nowhere.com> wrote in message
    >> news:eATXvhRtEHA.3412@TK2MSFTNGP14.phx.gbl...
    >> > If you stream the file using Response.WriteFile you should be able to
    >> delete
    >> > then this file following this streaming statement...
    >> >
    >> > Patrice
    >> >
    >> > --
    >> >
    >> > "Nikolay Petrov" <johntup2@mail.bg> a écrit dans le message de
    >> > news:udmTbWQtEHA.3004@TK2MSFTNGP10.phx.gbl...
    >> > > I have an ASP .NET page where a user uploads file, then this file is
    >> > > processed and finaly a result file is downloaded to user.
    >> > > My question is: Is there a way to find if user have downloaded the
    > file,
    >> > so
    >> > > I can remove it from server?
    >> > >
    >> > > TIA
    >> > >
    >> > >
    >> >
    >> >
    >>
    >>
    >
    >

    Nikolay Petrov 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