linux backup ftp

C++
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>
Source

Also in C++: