Ftp
From wikinotes
FTP (File Transfer Protocol) is a client/server way of exposing/downloading files.
This documentation refers to the FTP commandline client.
Documentation
man ftp https://www.freebsd.org/cgi/man.cgi?query=ftp&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html
Locations
~/.netrc
login credentials
Commands
# connect to ftp ftp host [port]
# ================ # Command Prefixes # ================ # local variations of remote commands # are prefixed with 'l' # cd /remote/dir lcd /local/dir # multi variations of remote commands # are prefixed with 'm' put file.txt mput file1.txt file2.txt ..
# ========== # Connection # ========== # ftp commands bye # exit ftp session# =========== # navigation # =========== cd <dir> # cd cdup # cd to parent dir ls # list directory contents pwd # print working directory# ======== # download # ======== get <file> [<localfile>] # download file newer <file> [<localfile>] # download file only if newer fget <localfile> # download files listed in newline separated <localfile># ====== # upload # ====== put <file> [<remotefile>] # upload a file mput# ==== # misc # ==== delete <file> # delete single file mdelete <file> <file> # delete multiple remote files rename <old> <new> # rename file chmod <mode> <file> # change file permissions