linux ftp code example
Example 1: ftp command in linux
Linux command FTP stands for File Transfer Protocol. It is used to file transfer to/from a remote network.
$ ftp IP/hostname
Examples:
$ ftp 192.168.5.111
ftp>
ftp> get index.html my.html
Fetching /home/linuxconcept/index.html to my.html
/home/linuxconcept/index.html 100% 6534 2.3KB/s 00:02
ftp>
ftp> put index.html
ftp> ascii
200 Type set to A.
ftp>
Example 2: ftp in linux
ftp domain.com
ftp 192.168.0.1
ftp [email protected]