web file transfer (#9587)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-10-12 09:03:13 +08:00
committed by GitHub
parent 29b01e9cef
commit eb1ef0969c
9 changed files with 411 additions and 194 deletions

View File

@@ -602,6 +602,7 @@ pub fn session_send_files(
file_num: i32,
include_hidden: bool,
is_remote: bool,
_is_dir: bool,
) {
if let Some(session) = sessions::get_session_by_session_id(&session_id) {
session.send_files(act_id, path, to, file_num, include_hidden, is_remote);
@@ -633,7 +634,7 @@ pub fn session_remove_file(
}
}
pub fn session_read_dir_recursive(
pub fn session_read_dir_to_remove_recursive(
session_id: SessionID,
act_id: i32,
path: String,