tnftp
tnftp is an enhanced FTP client ported from NetBSD, offering advanced features like command-line editing, URL fetching, and IPv6 support. It provides superior functionality over standard FTP clients for secure and efficient file transfers.
Description
tnftp is an enhanced version of the traditional FTP client originally developed for NetBSD and ported to other systems including Kali Linux. It serves as a powerful tool for transferring files over FTP, HTTP, HTTPS, and file protocols, making it versatile for network administrators, penetration testers, and users requiring robust file transfer capabilities.
Key use cases include fetching remote files via URLs with proxy and authentication support, directory listings with paging, and transfer rate throttling for controlled bandwidth usage. Its context-sensitive command completion and dynamic progress bar improve user experience during interactive sessions.
The tool supports both active and passive modes with fallback, IPv6, and firewall proxy configurations, making it suitable for modern network environments. Additionally, a dummy transitional package 'ftp' allows seamless upgrades from legacy FTP clients.
How It Works
tnftp operates as a command-line client supporting FTP, HTTP, HTTPS, and local file protocols. It implements enhancements like readline-based command editing, tab completion for commands and filenames, and dynamic progress bars during transfers. URL fetching parses schemes including proxy variables ($http_proxy, $ftp_proxy), authentication, and passive mode with active fallback. IPv6 is natively supported, modification times are preserved, and features like transfer throttling (-T) and gate proxy support enable advanced firewall traversal and bandwidth control.
Installation
sudo apt install tnftpFlags
Examples
tnftp -htnftp USER@HOST PORTtnftp USER@HOST:PATH/tnftp file:///PATHtnftp ftp://[USER:PASSWORD@]HOST:PORT/PATH/;type=TYPEtnftp http://[USER:PASSWORD@]HOST:PORT/PATHtnftp https://[USER:PASSWORD@]HOST:PORT/PATH