Learn R Programming

solvebio (version 2.15.0)

Object.upload_file: Object.upload_file

Description

Upload a local file to a vault on SolveBio. The vault path provided is the parent directory for uploaded file.

Usage

Object.upload_file(local_path, vault_id, vault_path, filename, env = .solveEnv)

Arguments

local_path

The path to the local file

vault_id

The SolveBio vault ID

vault_path

The remote path in the vault

filename

(optional) The filename for the uploaded file in the vault (default: the basename of the local_path)

env

(optional) Custom client environment.

References

https://docs.solvebio.com/

Examples

Run this code
if (FALSE) {
Object.upload_file("my_file.json.gz", vault$id, "/parent/directory/")
}

Run the code above in your browser using DataLab