PSCP now uses the modern SFTP protocol if it can, and falls back to
[u/mdw/putty] / sftp.h
diff --git a/sftp.h b/sftp.h
index 877b01e..b48ee64 100644 (file)
--- a/sftp.h
+++ b/sftp.h
@@ -122,6 +122,38 @@ 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);
+int fxp_fsetstat(struct fxp_handle *handle, struct fxp_attrs attrs);
+
+/*
  * Read from a file.
  */
 int fxp_read(struct fxp_handle *handle, char *buffer, uint64 offset,