We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71702cc commit f0e4717Copy full SHA for f0e4717
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "ftp"
3
-version = "3.0.0"
+version = "3.0.1"
4
authors = ["Matt McCoy <[email protected]>"]
5
documentation = "https://docs.rs/ftp/"
6
repository = "https://github.com/mattnenterprise/rust-ftp"
src/ftp.rs
@@ -209,7 +209,7 @@ impl FtpStream {
209
/// Move the current directory to the parent directory.
210
pub fn cdup(&mut self) -> Result<()> {
211
try!(self.write_str("CDUP\r\n"));
212
- self.read_response(status::REQUESTED_FILE_ACTION_OK).map(|_| ())
+ self.read_response_in(&[status::COMMAND_OK, status::REQUESTED_FILE_ACTION_OK]).map(|_| ())
213
}
214
215
/// Gets the current directory
0 commit comments