def upload(self, local_path, remote_url):
        """Copy a local file to an S3 location."""
        bucket, key = _parse_url(remote_url)

        with open(local_path, 'rb') as fp:
            return self.call("PutObject", bucket=bucket, key=key, body=fp)