Home › Topics › CLI Clients

Command-Line Client Mastery

Long after every graphical client has been installed and forgotten, the command-line transfer tools keep doing the real work. They are what scripts call, what schedulers run, and what you reach for over SSH at midnight. An administrator fluent in sftp, lftp, and curl - and honest about the limits of the built-in ftp clients - can move anything between any two systems with what is already installed.

This series builds that fluency tool by tool. It covers the built-in ftp clients and their unencrypted truth, and the sftp client mastered for interactive and batch use. It covers lftp as the power tool for scripted mirrors and retries, and curl beyond web requests. It also covers batch modes and command files for unattended runs, and a cookbook of one-liners worth memorizing.

Articles in This Series

  • The Built-In ftp Clients: Useful, Limited, Risky
    This article covers what ships with Windows and Unix, what the classic ftp clients can still do, and the no-encryption truth. Also covered are where they linger in old batch files, and the migration paths off them.
  • The sftp Command-Line Client, Mastered
    Interactive use, then automation: batch files with -b, key authentication, the commands that matter, exit codes for scripts, and host-key handling for unattended runs.
  • lftp: The Power Tool for Scripted Transfers
    Why admins reach for it: built-in retries and reconnects, mirroring, queues, parallel transfers, script mode - with honest notes on availability and portability.
  • curl for File Transfers: Beyond Web Requests
    This article covers FTP, FTPS, and SFTP through one tool: URL syntax, authentication options, and config files that keep credentials out of process lists. Also covered are retry and resume flags, and where curl beats a full client.
  • Batch Modes, Heredocs, and Command Files
    Driving clients unattended: batch files, heredoc patterns and their quoting traps, command files under version control, and capturing per-command output for the log.
  • A Transfer One-Liner Cookbook
    The memorable dozen: upload, download, mirror, newest-file, delete-older-than patterns for each client - and the line where a one-liner should graduate into a real script.

Explore More Topics

This series is part of the Sysax file transfer topic library. The library covers the protocols, security practices, automation techniques, and operational skills behind reliable file transfer. The library pairs well with the practical tools we build. Sysax Multi Server is a secure FTP, FTPS, SFTP, and HTTPS server for Windows. Sysax FTP Automation schedules and scripts secure transfers so the routine ones run themselves.