Conditional parameters for upload