Normally ftpcopy only accepts data connections to the
addresses of the host it connected to. The list of addresses
contains the IP addresses of the host, as returned by the DNS
query, or the IPv4 address of the host, in case an IPv4 address was
given on the commandline.
This option allows to add one or more IP addresses, separated by
commas, to the internal list. It may be given more than once.
You may want to use this option if you are behind some kind of
machine (gateway) doing NAT (network address translation) or
maquerading and ftpcopy prints an error message containing
"illegal redirect by FTP server".
Note: If you are not behind a NAT gateway, then do
not use this option without thinking: FTP redirects may be used to
launch denial of service attacks against innocent targets.
The environment variable FTPCOPY_ALLOW_PASV_IP has the same
function.
This option was added in version 0.6.1.
Output directory listings in the original format and sort
order.
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).
This option was added in version 0.3.8.
Descend at most LEVEL directories deep. 0 means do not enter
sub directories at all, 1 means enter sub-directories, but
not their sub-directories, and so on. This option enables the
--recursive option, too. The default is 2^32-1, meaning enter
all.
This option was added in version 0.5.2.