Skip to contents

Function to support multi-part upload for files larger than multipart_threshold.

Usage

Multi_part_file_upload(
  obj,
  local_path,
  local_md5,
  conn = get_connection(),
  ...
)

Arguments

obj

Object created

local_path

Path of file in local

local_md5

md5sum checksum of file

conn

Valid EDP connection

...

Arguments passed on to Objects

ancestor_id

an object ID of an ancestor, for filtering.

depth

the depth of the object in the Vault as an integer (0 means root)

filename

an Object filename, without the parent folder (e.g. "foo.csv")

glob

a glob (full path with wildcard characters) which searches objects for matching paths (case-insensitive).

limit

The maximum number of elements to fetch, as an integer. See also page.

min_distance

used in conjuction with the ancestor_id filter to only include objects at a minimum distance from the ancestor.

object_type

the type of an object, one of "file", "folder", or "dataset".

page

The number of the page to fetch, as an integer. starts from 1. See also limit.

path

the path of an object, with the folders (e.g. "/d1/d2/foo.csv").

query

a string that matches any objects whose path contains that string.

regex

A regular expression, as a string, to filter the results with.

storage_class

The Storage class of the vault ('Standard', 'Standard-IA', 'Essential', 'Temporary', 'Performance', 'Archive') as a string.

tag

a single tag as a string.

vault_id

a Vault ID as a string (e.g. "19").

vault_name

a Vault name as a string (e.g. "Public").

vault_full_path

a Vault full path, as a string (e.g. "quartzbio:Public")