powered by
Upload a local file to a vault on SolveBio only if it does not yet exist (by name, at the provided path). The vault path provided is the parent directory for uploaded file. Accepts the same arguments as `Object.upload_file`.
Object.get_or_upload_file( local_path, vault_id, vault_path, filename, env = .solveEnv )
The path to the local file
The SolveBio vault ID
The remote path in the vault
(optional) The filename for the uploaded file in the vault (default: the basename of the local_path)
(optional) Custom client environment.
https://docs.solvebio.com/
if (FALSE) { Object.get_or_upload_file("my_file.json.gz", vault$id, "/parent/directory/") }
Run the code above in your browser using DataLab