Current translation of the multipart file upload is: -F \"upload=" & $upload & "\" \ Should be: -F \"upload=@$upload;filename=" & $filename & "\" \