curld

Crates.iocurld
lib.rscurld
version0.1.1
created_at2025-05-29 09:56:07.1306+00
updated_at2025-05-29 10:09:44.743713+00
descriptionA command-line tool for uploading directories to HTTP servers
homepage
repositoryhttps://github.com/w2moon/curld
max_upload_size
id1693638
size48,772
(w2moon)

documentation

README

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.

Commit count: 6

cargo fmt