version 1.2, 2001/03/07 10:11:23 |
version 1.2.2.1, 2001/03/12 15:44:14 |
|
|
|
|
/* Client side of SSH2 filexfer protocol */ |
/* Client side of SSH2 filexfer protocol */ |
|
|
/* |
/* Initialiase a SSH filexfer connection */ |
* Initialiase a SSH filexfer connection. Returns -1 on error or |
|
* protocol version on success. |
|
*/ |
|
int do_init(int fd_in, int fd_out); |
int do_init(int fd_in, int fd_out); |
|
|
/* Close file referred to by 'handle' */ |
/* Close file referred to by 'handle' */ |
|
|
|
|
/* Rename 'oldpath' to 'newpath' */ |
/* Rename 'oldpath' to 'newpath' */ |
int do_rename(int fd_in, int fd_out, char *oldpath, char *newpath); |
int do_rename(int fd_in, int fd_out, char *oldpath, char *newpath); |
|
|
/* Rename 'oldpath' to 'newpath' */ |
|
int do_symlink(int fd_in, int fd_out, char *oldpath, char *newpath); |
|
|
|
/* Return target of symlink 'path' - caller must free result */ |
|
char *do_readlink(int fd_in, int fd_out, char *path); |
|
|
|
/* XXX: add callbacks to do_download/do_upload so we can do progress meter */ |
/* XXX: add callbacks to do_download/do_upload so we can do progress meter */ |
|
|