<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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))