Partial upload/download fix