Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed proftpd with mod-sql modules; i need to have a ftp server that would run on another port (and use a separate authentication scheme)

Whenever i try to install vsftpd or pureftpd it simply removes proftpd and dependencies; i'm guessing it's to prevent having conflicts ...

Is there any 'very small' ftp server; like run from command line that I could use ?

I've searched all around but cannot find ...

Any help would be appreciated

share|improve this question

migrated from stackoverflow.com Nov 23 '11 at 9:38

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Is there a reason you cannot use ProFTPd's virtual hosts feature? That works just like in Apache; you can make ProFTPd listen to additional ports/IP addresses and give that virtual host completely different configuration than for the others.

Proftpd.org has an example configuration file illustrating this.

share|improve this answer
    
Well no; my goal is to have two different ftp servers running on two different ports; you didn't understand my point. –  Disco Nov 23 '11 at 12:14
    
What did I miss? Virtual hosts can be configured to behave like completely different servers with separate authentication schema (or even anonymous access) and so on. –  Janne Pikkarainen Nov 23 '11 at 12:21
    
Ok maybe not clear; I'm using the mod_sql for auth; thus binding to only 1 table for users; i don't think i can actually assign more than 1 authentication sheme sepecially in virtual hosts; or i'm totally dumb –  Disco Nov 23 '11 at 12:45
    
Yes you can. Each and every ProFTPd mod_sql parameter is applicable in <VirtualHost> context, so you can use even a different database server for different virtual hosts, if you so will. See here: proftpd.org/docs/contrib/mod_sql.html –  Janne Pikkarainen Nov 23 '11 at 12:48
    
oh ok; didn't knew that. i'll give a try. Thanks ! –  Disco Nov 23 '11 at 13:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.