upload_new: Upload a new file to the OSF.
Description
Upload a new file to the OSF.
Usage
upload_new(id, path, name = NULL)
Arguments
id
Parent OSF project id (osf.io/XXXX) to upload to.
path
Path to file on local machine to upload. Ensure file has
proper extension named (i.e., extension sensitive, not like on Linux)
name
Name of the destination file on OSF (if NULL
,
basename(path)
will be used).