Learn R Programming

osfr (version 0.1.1)

upload_new_files: Upload a new file to OSF.

Description

Upload a new file to OSF.

Usage

upload_new_files(id, path, name = NULL, href_hash = NULL)

Arguments

id

OSF project id (osf.io/XXXXX) 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 uploaded file (if NULL, basename(path) will be used).

href_hash

Folder hash of the href from the folder URL. Not used if NULL.

Value

Waterbutler URL

See Also

upload_files, upload_revised_files