Re: PHP AS an FTP server
| From: | APseudoUtopia | Date: | Tue, 17 Feb 2009 16:49:12 +0000 |
| Subject: | Re: PHP AS an FTP server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288446@lists.php.net to get a copy of this message | ||
On Tue, Feb 17, 2009 at 10:53 AM, Michael Kubler <mdkknd@gmail.com> wrote:
> Hi,
> This is probably a bit stupid, but I've been having issues getting any of
> the good FTP servers running on my Ubuntu 6.06 (LTS) box.
> I've tried Pro-FTP, Pure-FTP, and briefly installed some others, but the
> versions available for my distro don't seem to support MySQL (or I'm simply
> doing something wrong).
>
> Anyway, I had the thought that the FTP server won't be used much, as I
> mainly use SSH, however I need to be able to give other people access, which
> is why I'm wondering if there are any PHP scripts that can be used AS an FTP
> server. That is, I'd setup Apache to accept on the standard FTP port(s), and
> get it to point everything to a PHP script, which I could then use to pull
> user/pass details each of which would have their own directories, allowing
> each user to access a sym-link to their domain(s) log file, website
> directory, and anything else.
>
> Has someone already got a script that does this (at least accepting FTP
> connections), or is this a crazy idea that's just not possible?
> Should I just compile the latest version of some FTP server, and try and
> configure that to do what I want instead?
>
> Thanks.
> --
>
Although possible, that's probably not a good idea for numerous reasons.
I'd strongly recommend using vsFTPd. I've used it for years and never
had any problem with it.
http://vsftpd.beasts.org