Upload.receiver: use a record, not a tuple, for input parameters