mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Patch to PSFTP: implement mkdir, rmdir, rm and scripting. Still to
do: wildcards, chmod, mv, probably other things. [originally from svn r1168]
This commit is contained in:
15
sftp.h
15
sftp.h
@ -121,6 +121,21 @@ struct fxp_handle *fxp_opendir(char *path);
|
||||
*/
|
||||
void fxp_close(struct fxp_handle *handle);
|
||||
|
||||
/*
|
||||
* Makes a directory
|
||||
*/
|
||||
int fxp_mkdir(char *path);
|
||||
|
||||
/*
|
||||
* Removes a directory
|
||||
*/
|
||||
int fxp_rmdir(char *path);
|
||||
|
||||
/*
|
||||
* Removes a file
|
||||
*/
|
||||
int fxp_rm(char *fname);
|
||||
|
||||
/*
|
||||
* Read from a file.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user