fzsftp
Securely transfer files using SFTP protocol
SYNOPSIS
fzsftp [options] [[user@]host[:port]] [command]
fzsftp [-scp] [options] file1 [file2 ...] [user@]host
PARAMETERS
-V, --version
Print version info and exit
-v, --verbose
Enable verbose logging
-load
Load saved PuTTY session
-P
Connect to specified port
-l
Username for login
-pw
Password (insecure, use keys)
-i
Private key file (OpenSSH/PPK)
-batch
Disable interactive prompts
-scp
SCP backend mode
-sftp
Force SFTP mode (default)
-agent
Enable Pageant SSH agent
-noagent
Disable SSH agent
-hostkey
Manual host key fingerprint
-proxy-server
Proxy server (http/socks4/socks5)
-sshlog
Log SSH packets to file
DESCRIPTION
fzsftp is a lightweight, command-line SFTP and SCP client from the FileZilla project, designed for secure file transfers over SSH. It emulates PuTTY's psftp and pscp tools, offering compatibility with existing scripts and tools. Key capabilities include interactive SFTP sessions for directory navigation, file upload/download/delete, and recursive operations; batch SCP transfers via stdin/stdout; and support for password or public-key authentication.
It features session management (save/load), proxy support (HTTP/SOCKS), host key verification, verbose logging, and non-interactive modes for automation. Ideal for servers or scripts needing reliable SFTP without GUI dependencies. On Linux, it may require manual compilation or third-party packages, as it's primarily bundled with Windows FileZilla installs.
Usage starts with connecting to a host, then SFTP commands like ls, get, put, rm. For SCP: fzsftp -scp -batch user@host file. Supports PuTTY PPK keys and Pageant agent.
CAVEATS
Primarily Windows-focused; Linux availability limited to source builds or packages. PPK keys require PuTTY tools for conversion. No native OpenSSH config integration.
INTERACTIVE COMMANDS
Once connected: ls/ls -l (list), get/put remote local (transfer), mkdir/rmdir, chmod, exit.
BATCH EXAMPLE
echo 'put file.txt' | fzsftp -batch user@host
SCP: fzsftp -scp -batch file user@host:/dir/
HISTORY
Developed by Tim Kosse for FileZilla 3.x (circa 2006+), as PuTTY-compatible CLI. Evolved with FileZilla Server/Client for cross-platform scripting; Linux ports unofficial.


