2 releases
| 0.1.1 | May 29, 2025 |
|---|---|
| 0.1.0 | May 29, 2025 |
#249 in HTTP client
15KB
curld
A simple command-line tool for uploading local directories to HTTP servers.
Installation
From crates.io
cargo install curld
From source
git clone https://github.com/w2moon/curld.git
cd curld
cargo install --path .
Usage
curld -d <local-directory> <target-url>
Example:
curld -d ./my-files http://xxx.xxx.xxx.xxx:xxxx/new-path/path-to-file
Features
- Recursively traverse all files in the specified directory
- Maintain directory structure when uploading files
- Display upload progress and results
- Support asynchronous operations for better performance
- Specifically designed for uploading to dufs servers
- Only supports HTTP PUT method for file uploads
Notes
This tool is primarily designed for uploading directories to dufs servers. It uses HTTP PUT method for all file uploads, which is the required method for dufs server operations.
Dependencies
~8–24MB
~289K SLoC