version 1.24, 2013/10/17 00:30:13 |
version 1.25, 2014/04/21 14:36:16 |
|
|
* 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 *, char *, char *, int, int); |
int do_upload(struct sftp_conn *, char *, char *, 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 *, char *, char *, int, int, int); |
int upload_dir(struct sftp_conn *, char *, char *, int, int, int, int); |
|
|
/* Concatenate paths, taking care of slashes. Caller must free result. */ |
/* Concatenate paths, taking care of slashes. Caller must free result. */ |
char *path_append(char *, char *); |
char *path_append(char *, char *); |