Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rust-ftp

> 开发工具
Open source

FTP client for Rust

193 stars0 likes1 views
WebsiteGitHub

About

FTP client for Rust

rust-ftp

FTP client for Rust Documentation


  • rust-ftp
    • Installation
    • Usage
    • License
      • Contribution
    • Development environment

Installation

FTPS support is achieved through rust-native-tls and is disabled by default. To enable it secure should be activated in Cargo.toml.

toml
[dependencies]
ftp = { version = "", features = ["secure"] }

Usage

…

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or )
  • MIT license (LICENSE-MIT or )

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Development environment

All you need to develop rust-ftp and run the tests is Rust and Docker. The tests folder contains a Dockerfile that installs and configures the vsftpd server.

To create the Docker image:

bash
docker build -t ftp-server tests

To start the FTP server that is tested against:

bash
tests/ftp-server.sh

This script runs the ftp-server image in detached mode and starts the vsftpd daemon. It binds ports 21 (FTP) as well as the range 65000-65010 for passive connections.

Once you have an instance running, to run tests type:

bash
cargo test --features secure

The following commands can be useful:

bash
# List running containers of ftp-server image
# (to include stopped containers use -a option)
docker ps --filter ancestor=ftp-server

# To stop and remove a container
docker stop container_name
docker rm container_name

# To remove the image
docker rmi ftp-server

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustftpftp-clientrustrust-ftp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具