Re: preventing aborted files to 'show up' ? (et al.)

DervishD <[email protected]> Tue, 10 Jan 2006 14:40:14 +0100
Newsgroups gmane.network.pureftpd.user
Organization DervishD
Message-ID <20060110134014.GA21993@DervishD>
    Hi Bram :)

 * Bram de Jong - MTG <[email protected]> dixit:
> Question: is there any way to prevent pure-ftpd from writing to the
> 'final filename' before the upload is *complete* ?
> 
> It's a bit of a weird question, I know,

    Not as weird as you seem to suppose ;)) I've thought of it now
and then. As far as I know, the only way is patching. It's tricky,
because you somewhat have to distinguish between a fully uploaded
file and a partial file.

    We can discuss more on the subject.

 * Bram de Jong - MTG <[email protected]> dixit:
> is there an after-file-deletion script-hook?

    Not that I remember. This, I think, will require patching
pureftpd too. Good news are that this time is a bit more easy,
because you don't have to distinguis anything ;) You just add the
hook script just after a MDEL command (or whatever its name).

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...

---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]