diff --git a/src/main.rs b/src/main.rs index c943513..9c50fa2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ struct ServerState { async fn start_tftp_server(dir: PathBuf) -> Result<(JoinHandle<()>, AbortHandle)> { let task = tokio::spawn(async move { println!("Starting TFTP server at: {:?}", dir); - let tftpd = TftpServerBuilder::with_dir_ro(&dir) + let tftpd = TftpServerBuilder::with_dir_rw(&dir) .expect("Failed to create server") .build() .await