mput
or mget
multiple files can be sent using the star (*
) on file names. ftp> mput foo*.txt mput foo-001.txt?
prompt
: ftp> prompt Interactive mode off. ftp> mput foo*.txt local: foo-001 remote: foo-001.txt …
-i
command line flag to turn of interactive prompting. quote
command. ftp> quote pasv
quote pasv
does not cause ftp.exe
to enter passive mode if the value of Use PASV
under the registry key HKEY_CURRENT_USER\Software\Microsoft\FTP
is set to yes
. ftp://USERNAME:PASSWORD@ftp.server.xyz/path/to/resource
cmd.exe
batch file that creates such a URL from certain environment variables and then opens a Firefox with the assembled URL.
ls
or dir
, entering passive helped: $ ftp $IPADDR Connected to … 220 … Name (…:rene): 331 User rene OK. Password required Password: 230 OK. Current directory is / Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 501 Syntax error in IP address ftp: bind: Address already in use ftp> dir 501 Syntax error in IP address ftp> pass Passive mode on. ftp> dir 227 Entering Passive Mode (…) 150 Accepted data connection drwx--x--- 10 rene 1301 4096 Mar 27 15:58 . drwx--x--- 10 rene 1301 4096 Mar 27 15:58 .. …