def upload_new_file(self, local_file_path): file_name = basename(local_file_path) copy_file(local_file_path, join(self.upload_dir, file_name)) return file_name
def download_file(self, file_id, path_to_download): copy_file(join(self.upload_dir, file_id), path_to_download)