version 1.32, 2021/08/07 00:08:52 |
version 1.33, 2021/08/07 00:12:09 |
|
|
* times if 'pflag' is set |
* times if 'pflag' is set |
*/ |
*/ |
int download_dir(struct sftp_conn *, const char *, const char *, |
int download_dir(struct sftp_conn *, const char *, const char *, |
Attrib *, int, int, int, int); |
Attrib *, int, int, int, int, int); |
|
|
/* |
/* |
* Upload 'local_path' to 'remote_path'. Preserve permissions and times |
* Upload 'local_path' to 'remote_path'. Preserve permissions and times |
|
|
* times if 'pflag' is set |
* times if 'pflag' is set |
*/ |
*/ |
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, int); |
|
|
/* |
/* |
* Download a 'from_path' from the 'from' connection and upload it to |
* Download a 'from_path' from the 'from' connection and upload it to |
|
|
*/ |
*/ |
int crossload_dir(struct sftp_conn *from, struct sftp_conn *to, |
int crossload_dir(struct sftp_conn *from, struct sftp_conn *to, |
const char *from_path, const char *to_path, |
const char *from_path, const char *to_path, |
Attrib *dirattrib, int preserve_flag, int print_flag); |
Attrib *dirattrib, int preserve_flag, int print_flag, |
|
int follow_link_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 *); |