Annotation of embedaddon/curl/docs/cmdline-opts/ftp-port.d, revision 1.1

1.1     ! misho       1: Long: ftp-port
        !             2: Arg: <address>
        !             3: Help: Use PORT instead of PASV
        !             4: Short: P
        !             5: Protocols: FTP
        !             6: See-also: ftp-pasv disable-eprt
        !             7: ---
        !             8: Reverses the default initiator/listener roles when connecting with FTP. This
        !             9: option makes curl use active mode. curl then tells the server to connect back
        !            10: to the client's specified address and port, while passive mode asks the server
        !            11: to setup an IP address and port for it to connect to. <address> should be one
        !            12: of:
        !            13: .RS
        !            14: .IP interface
        !            15: e.g. "eth0" to specify which interface's IP address you want to use (Unix only)
        !            16: .IP "IP address"
        !            17: e.g. "192.168.10.1" to specify the exact IP address
        !            18: .IP "host name"
        !            19: e.g. "my.host.domain" to specify the machine
        !            20: .IP "-"
        !            21: make curl pick the same IP address that is already used for the control
        !            22: connection
        !            23: .RE
        !            24: 
        !            25: If this option is used several times, the last one will be used. Disable the
        !            26: use of PORT with --ftp-pasv. Disable the attempt to use the EPRT command
        !            27: instead of PORT by using --disable-eprt. EPRT is really PORT++.
        !            28: 
        !            29: Since 7.19.5, you can append \&":[start]-[end]\&" to the right of the address,
        !            30: to tell curl what TCP port range to use. That means you specify a port range,
        !            31: from a lower to a higher number. A single number works as well, but do note
        !            32: that it increases the risk of failure since the port may not be available.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>