Use post = TRUE instead of upload = TRUE