error[E0599]: no function or associated item named `with_fs` found for struct `Server` in the current scope
I was able to compile without any issues a while ago. However, ever since I updated to a newer version of Rust, I started encountering the following errors when compiling:
error[E0599]: no function or associated item named with_fs found for struct Server in the current scope
--> src/main.rs:63:36
|
63 | let server = libunftp::Server::with_fs(ftpHome)
| ^^^^^^^ function or associated item not found in Server<_, _>
warning: unused import: unftp_sbe_fs::ServerExt
--> src/main.rs:17:5
|
17 | use unftp_sbe_fs::ServerExt;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
For more information about this error, try rustc --explain E0599.
@phil-skillwon Hi are you on the latest versions of libunftp and unftp-sbe-fs?
Closing due to inactivity
For anyone running into this problem: unftp-sbe-fs needs to be set to 0.3.0 instead of 0.2.0 as it is in the Quick Start documentation.