(B15) Linux Admin part12 FTP and vsFTP, PUT,GET
20220323 172506
ftp – FILE TRANSFOR PROTOCOL – 20,21
File server
upload and download file from ftp server
ftp
sftp
vsftp
2ways we do the ftp
[root@cts15l1 ~]# hostname
cts15l1.example.com
[root@cts15l1 ~]# hostname -i
192.168.0.128
1.
yum info vsftp*
yum install vsftpd -y
systemctl status vsftpd
systemctl start vsftpd
systemctl status vsftpd
systemctl enable vsftpd
systemctl status vsftpd
ls /var/ftp/pub/
cat /var/ftp/pub/ftpfile1
this is ftpfile1 file from cts15 linux pc
ls /var/ftp/pub/
ftpfile1
systemctl restart vsftpd
–open firefox in linux system
ftp://127.0.0.1
pub
—
copy more files to /var/ftp/pub/
and verify
ftp://127.0.0.1
can access file with filezilla, cuteftp,…
2
linux1:
cts15l1.example.com
192.168.0.128
yum install ftp -y
file – gayatrifile1
linux2:
localhost1.localdomain1
192.168.0.114
yum install -y
file – spoorthifile1
put – upload
get – download
mput – multiple file upload
mget – multiple file download
bye
disconnect
exit
linux2: 192.168.0.114
spoorthi:
ftp 192.168.0.128
name:gayatri
password:
ftp ls
ftp put spoorthifile1
ftp get gayatrifile1
ftp ls
————————-
by Latif Shaik
linux ftp command