version 1.30, 2021/03/31 22:16:34 |
version 1.31, 2021/08/07 00:02:41 |
|
|
int upload_dir(struct sftp_conn *, const char *, const char *, int, int, int, |
int upload_dir(struct sftp_conn *, const char *, const char *, int, int, int, |
int); |
int); |
|
|
|
/* |
|
* Download a 'from_path' from the 'from' connection and upload it to |
|
* to 'to' connection at 'to_path'. |
|
*/ |
|
int |
|
do_crossload(struct sftp_conn *from, struct sftp_conn *to, |
|
const char *from_path, const char *to_path, |
|
Attrib *a, int preserve_flag); |
|
|
|
/* |
|
* Recursively download a directory from 'from_path' from the 'from' |
|
* connection and upload it to 'to' connection at 'to_path'. |
|
*/ |
|
int crossload_dir(struct sftp_conn *from, struct sftp_conn *to, |
|
const char *from_path, const char *to_path, |
|
Attrib *dirattrib, int preserve_flag, int print_flag); |
|
|
/* Concatenate paths, taking care of slashes. Caller must free result. */ |
/* Concatenate paths, taking care of slashes. Caller must free result. */ |
char *path_append(const char *, const char *); |
char *path_append(const char *, const char *); |
|
|