Re: Re: pure-uploadscript does not detect user created directories?

甘全 <[email protected]> Tue, 22 Nov 2005 15:58:43 +0800
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
Bad news, it doesn't work....... after the code change, it acts
exactly the same like the binary distribution.
btw, I tested it on Debian, the version of both source code and the
binary distribution is 1.0.19.

>     I think it's easier than it seems. If you don't think you're able
> to write the code, tell me and I can try to modify the sources for
> you. I cannot afford the time to do any testing, but as long as you
> can do the testing, I think I can do the coding ;)

Does these words still count?  ;p

Regards!

2005/11/15, DervishD <[email protected]>:
>     Hi vigacmoe :)
>
>  * ???? <[email protected]> dixit:
> > Sorry for the delay, I was stuck in something else recently.
> > Anyway, I just added the following code to the end of (near the end
> > of) domkd() function:
> >
> > # if defined(WITH_UPLOAD_SCRIPT)
> >     if (do_upload_script != 0) {
> >         upload_pipe_push(account, name);
> >     }
> > # endif
> >
> > I didn't dive into the code deeply, so, I don't know if the variable
> > "name" is the absolute path of the directory or not, and do you think
> > this simple change would do the work?
>
>     It should work, but as you already say, I'm not sure if you
> should clean "name" a bit before using, because I don't know if it is
> an absolute path or not :?? Right now I cannot afford the time to
> test your patch, so you will have to try it yourself, but IMHO it
> should work.
>
>     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...
>


--
  此致
敬礼
            甘全