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 ece0aa2 commit a76ae5fCopy full SHA for a76ae5f
src/ftp.rs
@@ -292,7 +292,7 @@ impl FtpStream {
292
pub async fn restart_from(&mut self, offset: u64) -> Result<()> {
293
let rest_command = format!("REST {}\r\n", offset.to_string());
294
self.write_str(&rest_command).await?;
295
- self.read_response(status::REQUEST_FILE_PENDING).map(|_| ())
+ self.read_response(status::REQUEST_FILE_PENDING).await.map(|_| ())
296
}
297
298
/// Retrieves the file name specified from the server.
0 commit comments