ftp服務器
FTP 是File Transfer Protocol(文件傳輸協(xié)議)的英文簡稱,而中文簡稱為“文傳協(xié)議”。
用于Internet上的控制文件的雙向傳輸。
同時,它也是一個應用程序(Application)?;诓煌牟僮飨到y(tǒng)有不同的FTP應用程序,而所有這些應用程序都遵守同一種協(xié)議以傳輸文件。
在FTP的使用當中,用戶經(jīng)常遇到兩個概念:"下載"(Download)和"上傳"(Upload)。
"下載"文件就是從遠程主機拷貝文件至自己的計算機上;
"上傳"文件就是將文件從自己的計算機中拷貝至遠程主機上。用Internet語言來說,用戶可通過客戶機程序向(從)遠程主機上傳(下載)文件。

image.png
1.安裝vsftpd服務器
sudo apt-get install vsftpd

image.png

image.png
2.配置vsftpd.conf文件
sudo vi /etc/vsftpd.conf

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png
3.測試上傳功能,登陸ftp服務器
ftp IP

image.png
4.上傳命令,可以把文件上傳到ftp服務器
put somefile
5.下載命令,可以把ftp服務器上的文件下載到本地
get somefile
圖形界面的ftp客戶端(filezilla)

image.png