Results 1 to 7 of 7
I looked at the ftp programs that mandrake came with but i cant figure out how to host a server so people can connect to me and download files. Help?
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-06-2003 #1Just Joined!
- Join Date
- May 2003
- Posts
- 67
FTP server in mandrake 9.1
I looked at the ftp programs that mandrake came with but i cant figure out how to host a server so people can connect to me and download files. Help?
Thanks
- 06-07-2003 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
Im not familar with mandrake, which FTP servers come with it?
Then we can look at setting it up.
Jason
- 06-07-2003 #3Just Joined!
- Join Date
- May 2003
- Posts
- 67
gftp and Lftp
- 06-07-2003 #4
Did you check the man pages for those servers? Usually you can find all the options you need there (or maybe in a default config file).
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 06-07-2003 #5Just Joined!
- Join Date
- Mar 2003
- Location
- UK
- Posts
- 82
you'll have a bit of a hard time setting up gftp and lftp as servers... they are both clients
Originally Posted by CyberFed
I use proftpd, it seem stable, and it's relativley easy to configure.
**edit**
I've just had a look, and it turns out, madrake comes with proftpd... (you are running mandrake 9 arn't you? i couldn't find info very easily on the older versions)
The proftpd config file is /etc/proftpd.conf and the user file (the file which determins which users can NOT log in via ftp) is /etc/ftpusers
the files are easy to understnad, so you shouldn't have any problems.
to get the serve running, just run 'proftpd'
good luck
- 06-07-2003 #6Just Joined!
- Join Date
- May 2003
- Posts
- 67
gee cant ya tell i'm a newb
anyways i just checked what packages are in stalled and it is showing proftpd 1.2.7 installed already. I guess i just need help on how to get it to work, im also behind a router.
- 06-07-2003 #7Just Joined!
- Join Date
- Mar 2003
- Location
- UK
- Posts
- 82
read my post on setting up the port forwarding for your router in your thread about setting up apache. and make sure you forward port 21 to your server.
for proftpd, you need to have local user accounts set up for people to connect with a user pass... for example, use the mandrake wizard (or whatever it is) to add a new user. when they connect to your server they will use their username and password and will have access to their home directory
by adding usernames to /etc/ftpusers you will RESTRICT that user from logging in via ftp (its a VERY good idea to make sure root cannot log in via ftp, esspecialy if your server will be open to the web)
you cna change setting such as the port used in /etc/proftpd.conf. its all clearley labled.
the ftpusers file looks like this:
its all clearly labled as you can see, so if you want an anonymous ftp server, just put a # infront of 'ftp' in the file. the comemnts are supprisingly helpfullCode:# # ftpusers This file describes the names of the users that may # _*NOT*_ log into the system via the FTP server. # This usually includes "root", "uucp", "news" and the # like, because those users have too much power to be # allowed to do "just" FTP... # # # Version: @(#)/etc/ftpusers 3.00 02/25/2001 volkerdi # # Original Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> # # The entire line gets matched, so no comments or extra characters on # lines containing a username. # # To enable anonymous FTP, remove the "ftp" user: ftp root uucp news # End of ftpusers.


Reply With Quote
