10 Commits
Author SHA1 Message Date
Daniel García bac93e3df3 Update to Tokio 0.3 2020-12-30 19:04:40 +01:00
Daniel García 02ff642c05 Async support with tokio 2020-06-03 22:37:36 +02:00
Zack Mullaly 3d93a7079e Unify the library's interface and tidy up some code (#47)
Unify the library's interface and tidy up some code
2016-08-01 11:31:59 -04:00
Matt McCoy 797b112943 Merge pull request #34 from matt2xu/pasv
Now using host returned by PASV command
2016-02-29 19:42:34 -05:00
Matthieu Wipliez e59dce40d8 Renamed methods to more usual names: mkdir, rmdir... 2016-02-28 17:41:28 +01:00
Matthieu Wipliez e1747a89d1 Now using host returned by PASV command 2016-02-28 17:38:32 +01:00
Matthieu Wipliez 2c0138c756 improved error handling 2016-02-11 21:41:04 +01:00
Matthieu Wipliez 4a1c5775f1 Rename FTPStream, support multiple line replies, add buffered read
Add basic Usage documentation.

Per Rust naming conventions, use CamelCase for types:
https://doc.rust-lang.org/style/style/naming/README.html

The documentation includes a basic example that is tested with `cargo
test`.

Update travis.yml to install pure-ftp server in Travis CI build

Use a BufReader around the TcpStream. Writes are not buffered, which I
think is actually best, because we want requests to be issued
immediately.
2016-02-09 21:13:35 +01:00
Danilo Bargen 9772bf9e87 Change host parameter type to Into<String>
This allows the user to pass in anything that implements
`Into<String>`, e.g. a 'static string slice.
2016-02-07 21:58:12 +01:00
Danilo Bargen ea15293686 Move example to examples directory
This follows the "project layout" recommendatoins of Cargo:
http://doc.crates.io/manifest.html#the-project-layout

It allows you to run the example like this:

    cargo run --example connecting

The example is also built during `cargo test`. So if you do a change
that breaks the example, you will notice it during testing.
2016-02-07 00:33:06 +01:00