Performs synchronization from a local file to a remote file. The local
        path is the source and remote path is the destination.

def upload(self, local, remote):
        """
        Performs synchronization from a local file to a remote file. The local
        path is the source and remote path is the destination.
        """
        self.sync(LocalFile(local), RemoteFile(remote, self.api))