From bb07a7f858da5d07c57360e62c0ddfd24ce6be45 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 18 Apr 2009 22:33:15 +0100 Subject: Begin to add the upload and download commands. --- ocaml/guestfs.mli | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ocaml/guestfs.mli') diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 6c763631..2257fc0c 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -370,3 +370,9 @@ val blockdev_flushbufs : t -> string -> unit val blockdev_rereadpt : t -> string -> unit (** reread partition table *) +val upload : t -> string -> string -> unit +(** upload a file from the local machine *) + +val download : t -> string -> string -> unit +(** download a file to the local machine *) + -- cgit