Linux command
netkit-ftp 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Connect to FTP server
netkit-ftp [ftp.example.com]
Connect in passive mode (useful behind firewalls)
netkit-ftp -p [ftp.example.com]
Connect with verbose output
netkit-ftp -v [ftp.example.com]
Connect without auto-login
netkit-ftp -n [ftp.example.com]
Connect with non-interactive multi-file transfers
netkit-ftp -i [ftp.example.com]
Enable debugging
netkit-ftp -d [ftp.example.com]
说明
netkit-ftp is the classic Internet file transfer program. It provides an interactive command-line interface to the standard File Transfer Protocol, allowing users to transfer files to and from a remote network site. It supports auto-login via the .netrc file, passive mode for firewall traversal, and interactive file globbing.
参数
- -4
- Use only IPv4 to contact the host.
- -6
- Use only IPv6 to contact the host.
- -p
- Use passive mode for data transfers. Default when invoked as pftp.
- -i
- Turn off interactive prompting during multiple file transfers.
- -n
- Do not attempt auto-login upon initial connection (skip .netrc lookup).
- -g
- Disable file name globbing.
- -v
- Verbose output; show all responses from the remote server and data transfer statistics.
- -d
- Enable debugging.
FAQ
What is the netkit-ftp command used for?
netkit-ftp is the classic Internet file transfer program. It provides an interactive command-line interface to the standard File Transfer Protocol, allowing users to transfer files to and from a remote network site. It supports auto-login via the .netrc file, passive mode for firewall traversal, and interactive file globbing.
How do I run a basic netkit-ftp example?
Run `netkit-ftp [ftp.example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -4 do in netkit-ftp?
Use only IPv4 to contact the host.