Upload or update a file
Internal functions used by
box_ul (who's use is recommended as
an alternative to these functions).
1 2 3
The box.com id for the folder that you'd like to upload to
A path to a file stored locally
the box.com id of the file you'd like to update
The box.com api requires different API calls to upload a new file, and to upload a new version of a file which already exists (incrementing the version number).
box_upload_new make the API call to upload a new file.
box_update_file makes the API call to update an existing file.
httr object returned by the api call
Brendan Rocks firstname.lastname@example.org