Linux/FTP

From Omnia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Connect:

ftp [host]

Specifying username/password in a URL: [1]

ftp://username:password@hostname/

Common commands:

dir
ls
cd [dir]
del [file]
rmdir [dir]
mkdir [dir]

Binary / Binary mode:

bin
ascii

Run local command:

![command]
! dir

Passive / Active mode:

passive
active

Hash progress:

hash

Multiple put:

mput [files...]
mput *

Toggle mput prompting:

prompt
ftp -i [server]  # disable prompting on startup


Linux FTP

.netrc

.netrc:

machine [some.server.com] login [myuser] password [mypassword]
machine [some.server.com] login anonymous password [myemail]

Help:

man .netrc
man ftp

keywords