mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 00:54:43 +08:00
implement ssh_connect_flag
Each copy thread establishes SSH/SFTP connection to remote host. A delay is inserted between SSH connecting to the remote.
This commit is contained in:
@@ -132,7 +132,7 @@ static int resolve_dst_path(const char *src_file_path, char *dst_file_path,
|
||||
snprintf(dst_file_path, PATH_MAX - 1, "%s/%s",
|
||||
a->dst_path, src_file_path + strlen(a->src_path) + 1);
|
||||
|
||||
mpr_info(a->msg_fd, "file: %s -> %s\n", src_file_path, dst_file_path);
|
||||
mpr_debug(a->msg_fd, "file: %s -> %s\n", src_file_path, dst_file_path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user