X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/32874aeac8dacbca26663777b39a79efc5d8dc4b..d92624dccee63e8bee8653e8ae845ffad3490b67:/sftp.h diff --git a/sftp.h b/sftp.h index 877b01e6..e4aa2925 100644 --- a/sftp.h +++ b/sftp.h @@ -122,6 +122,37 @@ struct fxp_handle *fxp_opendir(char *path); void fxp_close(struct fxp_handle *handle); /* + * Make a directory. + */ +int fxp_mkdir(char *path); + +/* + * Remove a directory. + */ +int fxp_rmdir(char *path); + +/* + * Remove a file. + */ +int fxp_remove(char *fname); + +/* + * Rename a file. + */ +int fxp_rename(char *srcfname, char *dstfname); + +/* + * Return file attributes. + */ +int fxp_stat(char *fname, struct fxp_attrs *attrs); +int fxp_fstat(struct fxp_handle *handle, struct fxp_attrs *attrs); + +/* + * Set file attributes. + */ +int fxp_setstat(char *fname, struct fxp_attrs attrs); + +/* * Read from a file. */ int fxp_read(struct fxp_handle *handle, char *buffer, uint64 offset,