/ftp

FTP client implemented with Rust

Primary LanguageRust

FTP client

Hobby project to learn Rust. Implemented ~according RFC 959.

Tested with Rust 1.9.

TODO

  • Open command connection
  • Login
  • pwd command
  • cd command
  • system command
  • status command
  • port command
  • passive command
  • Open passive data connection
  • ls command
  • logout command
  • binary command
  • ascii command
  • status command
  • help
  • get, file download
  • put, file upload
  • Add download and upload speed indicator
  • Resolve hostname
  • Open active data connection
  • Proper error handling

Build

cargo build --release
./target/release/ftp h 127.0.0.1 p 3333

Test against real FTP server

./target/release/ftp h 193.166.3.2 p 21 (ftp.funet.fi)