--- Pedro Liska <[EMAIL PROTECTED]> wrote:

> Thank you Rusty and Nate. Copying the file sounds
> like the best way to
> go so I'll do that.

If you have any kind of traffic to the server, it's
more efficient to make a hard link to the file, so
that when the original name is removed, the ref count
goes to one, but you still have access to it through
the link.

Fred

 I also tried commenting the
> ns_unlink line in the
> form.tcl file and that worked too.
> 
> Thanks!
> 
> Pedro
> 
> On 3/1/07, Nathan Folkman <[EMAIL PROTECTED]>
> wrote:
> > Take a look at:
> >
> >     ns_getform
> >
> > Looks like it's getting removed here:
> >
> > form.tcl:
> >
> >     160                 ns_atclose "ns_unlink
> -nocomplain $tmpfile"
> >
> > Can you update your code to copy the returned /tmp
> file to your own
> > directory? Probably safer that way anyways, since
> you never know when /tmp
> > will be cleaned up.
> >
> > - n
> >
> >
> >
> > On 3/1/07, Pedro Liska <[EMAIL PROTECTED]>
> wrote:
> > >
> > > Hi!
> > >
> > > I'm moving my web server from AOLserver 3.3 to
> AOLserver 4.5.
> > >
> > > With my old AOLserver 3.3 configuration, the
> /tmp/files posted by a
> > > multipart/form-data form would remain after the
> request was processed.
> > > This is not the case in my AOLserver 4.5 test
> configuration.
> > >
> > > Do you guys know how to make AOLserver 4.5 not
> delete the /tmp/files
> > > after the request is processed? My Tcl code
> depends on the files being
> > > there in several cases.
> > >
> > > Thanks!
> > >
> > > Pedro
> > >
> > >
> > > --
> > > AOLserver - http://www.aolserver.com/
> > >
> > > To Remove yourself from this list, simply send
> an email to <
> > [EMAIL PROTECTED]> with the
> > > body of "SIGNOFF AOLSERVER" in the email
> message. You can leave the
> > Subject: field of your email blank.
> > >
> >
> >
> >
> > --
> > Nathan Folkman
> > [EMAIL PROTECTED]
> >
> >
> > --
> > AOLserver - http://www.aolserver.com/
> >
> >
> >
> > To Remove yourself from this list, simply send an
> email to
> > <[EMAIL PROTECTED]> with the
> > body of "SIGNOFF AOLSERVER" in the email message.
> You can leave the Subject:
> > field of your email blank.
> >
> >
> 
> 
> --
> AOLserver - http://www.aolserver.com/
> 
> To Remove yourself from this list, simply send an
> email to <[EMAIL PROTECTED]> with the
> body of "SIGNOFF AOLSERVER" in the email message.
> You can leave the Subject: field of your email
> blank.
> 



 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to