set theResponse to do shell script "curl -A " & quoted form of (userAgent) & "  -X POST -F fileupload=@" & quoted form of thePath & " -F upload=Go -F title=" & quoted form of fileName & " " & quoted form of theUrl