# aim

> Command line download/upload tool with resume support for HTTP(S), FTP, SFTP, SSH, and S3 protocols

Stars: 193 · Categories: Network

- Repository: https://github.com/mihaigalos/aim
- Page: https://www.trmn.sh/tools/aim

## Install

- Cargo: `cargo install aim`

## Overview

aim is a command line file transfer tool that supports downloading and uploading across multiple protocols including HTTP(S), FTP, SFTP, SSH, and S3. The tool determines whether to download or upload based on parameter order - single URLs display contents, two parameters perform transfers based on source and destination placement.

The tool's standout feature is resumable transfers for most protocols, allowing interrupted downloads to continue from the exact byte offset where they stopped. It includes SHA256 checksum validation, automatic HTTP redirect following, and an interactive mode with fuzzy search navigation for browsing remote directories. Authentication is handled through various methods including basic auth in URLs, .netrc files, SSH keys, and AWS credentials.

Additional capabilities include serving local folders over HTTP for cross-device file sharing, automatic decompression when using the '+' output specifier, and pipe-friendly output for integration with other command line tools. The tool supports customizable progress indicators and can self-update in-place. It's designed for developers, system administrators, and users who need reliable file transfers with resume capability across different protocols.

### Installation

```bash
# via Cargo
cargo install aim
```

![Resume example](https://raw.githubusercontent.com/mihaigalos/aim/main/screenshots/aim.gif)

![Interactive mode example](https://raw.githubusercontent.com/mihaigalos/aim/main/screenshots/aim_interactive.gif)

## Alternatives

- [glooctl](https://www.trmn.sh/tools/glooctl.md): Kubernetes-native API gateway and ingress controller built on Envoy proxy with Gateway API conformance (172 stars)
- [cidr](https://www.trmn.sh/tools/cidr.md): CLI tool for IPv4/IPv6 CIDR network prefix management with counting, overlap checking, explanation, and subdivision. (245 stars)
- [domain-check](https://www.trmn.sh/tools/domain-check.md): CLI tool for fast domain availability checking across 1,200+ TLDs with RDAP/WHOIS support and batch processing (306 stars)
- [lssh](https://www.trmn.sh/tools/lssh.md): TUI-based SSH client for managing multiple servers with parallel commands and local bashrc forwarding (Go, 328 stars)
- [dnspyre](https://www.trmn.sh/tools/dnspyre.md): Command-line DNS benchmark tool for stress testing and measuring DNS server performance across UDP, TCP, DoT, DoH, and DoQ protocols. (334 stars)

---

Canonical: https://www.trmn.sh/tools/aim
