version 1.36, 2022/03/31 03:07:03 |
version 1.37, 2022/05/13 06:31:50 |
|
|
* Download 'remote_path' to 'local_path'. Preserve permissions and times |
* Download 'remote_path' to 'local_path'. Preserve permissions and times |
* if 'pflag' is set |
* if 'pflag' is set |
*/ |
*/ |
int do_download(struct sftp_conn *, const char *, const char *, |
int do_download(struct sftp_conn *, const char *, const char *, Attrib *, |
Attrib *, int, int, int); |
int, int, int, int); |
|
|
/* |
/* |
* Recursively download 'remote_directory' to 'local_directory'. Preserve |
* Recursively download 'remote_directory' to 'local_directory'. Preserve |
* 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 *, |
Attrib *, int, int, int, int, int); |
int, 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 |
* if 'pflag' is set |
* if 'pflag' is set |
*/ |
*/ |
int do_upload(struct sftp_conn *, const char *, const char *, int, int, int); |
int do_upload(struct sftp_conn *, const char *, const char *, |
|
int, int, int, int); |
|
|
/* |
/* |
* Recursively upload 'local_directory' to 'remote_directory'. Preserve |
* Recursively upload 'local_directory' to 'remote_directory'. Preserve |
* 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, 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 |