1
0
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:
Simon Tatham
2001-08-04 14:19:51 +00:00
parent 15cf1e664b
commit 4a0fb28883
3 changed files with 241 additions and 18 deletions

15
sftp.h
View File

@ -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.
*/