Patch to PSFTP: implement mkdir, rmdir, rm and scripting. Still to
[u/mdw/putty] / sftp.h
diff --git a/sftp.h b/sftp.h
index 877b01e..2eef6e9 100644 (file)
--- a/sftp.h
+++ b/sftp.h
@@ -122,6 +122,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.
  */
 int fxp_read(struct fxp_handle *handle, char *buffer, uint64 offset,