New to 4MLinux?

If you are a new 4MLinux user, you should jump here




Sunday, January 13, 2013

FTP server in 4MLinux

4MLinux has the following set of its main servers: FTP, HTTP, SSH, and Telnet. This post aims to describe shortly how to use the FTP server. 4MLinux includes either vsftpd (4MLinux Allinone Edition, 4MLinux Server Edition, and TheSSS) or just Busybox applet as its FTP server daemon.

1) Open your terminal and execute the 'ftpd' command:



2) Let's start the server ('ftpd start') and check if it really runs ('ftpd test'). After you execute these two commands, Links (text-based web browser) will be opened with the following test file:
 


Note: the 'ftpd start' command starts the server and enables downloading of files, while the 'upload' command starts the server with both downloading and uploading enabled.


3) By default, none of 4MLinux servers is started automatically during the boot, but you can change this by setting 'FTP' to 'yes' in the /etc/server/autostart.conf file:



4) If you are a fun of TUI (like I am :-), then you can use the 'ftp' command as your FTP client (just try it yourself in your terminal). If you prefer GUIWinSCP will be the best choice for you:




Additional notes:
1) The anonymous FTP server is located in the /srv/ftp directory by default.
2) 4MLinux uses inetd to manage its main servers.  

Further reading:
FTP - HTTP - SSH - TELNET - FIREWALL - PROXY - MONITORING

No comments:

Post a Comment