-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Cargo.toml": Hide FTP support under new feature flag. "operator.rs", "scheme.rs, src/services/mod.rs": Added conditional compilation for ftp services. "src/services/ftp/backend.rs": Removed any unnecessary helper functions that only use once. Removed username and password store to avoid data breach. Combine port and endpoint into one. Built a FTP command stream inside Builder's build() function and persist this stream inside Backend. Changed tls to enable_secure. Developer can use enable_secure() function to enable tls connection. Modified read() function to avoid putting all stream content into memory. Fixed stat() function, when path argument is empty, stat() function will return the stat of root directory. "src/services/ftp/dir_stream.rs" Added more metadata in DirEntry. "src/services/ftp/err.rs": Removed any unnecessary error functions. "src/services/ftp/mod.rs": Remove empty line. "tests/behavior/behavior.rs": Added feature for ftp. Resolve conflict.
- Loading branch information
1 parent
1f69945
commit 2cb80fb
Showing
10 changed files
with
207 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.