download


Description:

[ Version ( since = "1.0.2" ) ]
public bool download (string remotefilename, string filename, Cancellable? cancellable = null) throws Error

download a file to the local machine

Download file remotefilename and save it as filename on the local machine.

filename can also be a named pipe.

See also upload, cat.

Parameters:

this

A GuestfsSession object

cancellable

A GCancellable object

Returns:

true on success, false on error