upload
Description:
[ Version ( since = "1.0.2" ) ]
public bool upload (string filename, string remotefilename, Cancellable? cancellable = null) throws Error
public bool upload (string filename, string remotefilename, Cancellable? cancellable = null) throws Error
upload a file from the local machine
Upload local file filename to remotefilename on the filesystem.
filename can also be a named pipe.
See also download.
Parameters:
this |
A GuestfsSession object |
cancellable |
A GCancellable object |
Returns:
true on success, false on error |