modified 'seafile_download' interface for cs