Method

MsgDriveServicecopy_file

Declaration [src]

gboolean
msg_drive_service_copy_file (
  MsgDriveService* self,
  MsgDriveItem* file,
  MsgDriveItem* destination,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Copy a file async on remote server to a new directory.

Parameters

file MsgDriveItem
 

Source MsgDriveItem.

 The data is owned by the caller of the function.
destination MsgDriveItem
 

Destination directory MsgDriveItem.

 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if accepted, FALSE on error.