ftpls generates a listing of files and directories in a
FTP directory. ftpls by default prints a human readable
ascii output, but may also create HTML and machine parsable
output.
ction
bsection
Number of tries to connect and log in. The default is 1, meaning that
ftpls will give up after the first error.
Send ACCOUNT as the account name using the ACCT ftp command if
the ftp servers asks for one.
ACCOUNT in ftp speak is some kind of sub account in some other
terminologies. If you don't understand what it means you have
a good chance to never need this option anyway. If you think you
need it please try the -u option first.
Use PASS as password to login on the ftp server.
The default is `[email protected]'. Use an empty password
to enforce not sending any password.
Use NAME to login on the ftp server.
The default is `anonymous'. Use an empty name to force to not log in.
bsection
Create HTML index.
Create machine parsable output.
Title text to use on the HTML output.
URL-Prefix to use in listings.
bsection
sort alphabetical.
sort reverse alphabetical.
sort youngest first.
sort oldest first.
sort shortest first.
sort longest first.
bsection
Add OPTS to LIST command.
This allows to pass arbitrary options to the
FTP servers LIST command. Note that ftpls does
not cope well with recursive directory listings.
ftpls will read the directories to be listed from the standard input.
Any remote directory given on the command line will be ignored.
Each directory listing is terminated by a END-OF-LISTING line.
Do not use this together with the --html option.
This option was added in version 0.3.6.
Do a recursive directory listing by first printing one directory,
including sub directory names, and then traversing into sub
directories.
Timeout to use for network read/write and connect operations. The default
is 30 seconds and is usually sufficient.
This option was added in version 0.3.8.
Do not use the poll() system call even if it's available, but use select().
This allows ftpls to be used together with the runsocks program
from the socks5 reference implementation. Please note that you'll
need a directly reachable name server anyway, as the DNS library
in use does not support SOCKS (you can always use IP addresses).