- submitTransfer(
options:
| undefined
| {
payload: Omit<
{
deadline?: string;
label?: string;
notify_on_failed?: boolean;
notify_on_succeeded?: boolean;
store_base_path_info?: boolean;
submission_id: string;
} & {
DATA: {
checksum_algorithm?: string;
DATA_TYPE: string;
destination_path: string;
external_checksum?: string;
recursive?: boolean;
source_path: string;
}[];
DATA_TYPE: "transfer";
delete_destination_extra?: boolean;
destination_endpoint: string;
destination_local_user?: string;
encrypt_data?: boolean;
fail_on_quota_errors?: boolean;
filter_rules?: {
DATA_TYPE: "filter_rule";
method: "include"
| "exclude";
name: string;
type?: "file" | "dir";
}[];
preserve_timestamp?: boolean;
recursive_symlinks?: "ignore"
| "keep"
| "copy";
skip_source_errors?: boolean;
source_endpoint: string;
source_local_user?: string;
sync_level?: 0 | 2 | 1 | 3;
verify_checksum?: boolean;
},
"DATA_TYPE",
>;
} & BaseServiceMethodOptions,
sdkOptions?: SDKOptions,
): Promise<JSONFetchResponse<TransferResult | TransferError>> Parameters
- options:
| undefined
| {
payload: Omit<
{
deadline?: string;
label?: string;
notify_on_failed?: boolean;
notify_on_succeeded?: boolean;
store_base_path_info?: boolean;
submission_id: string;
} & {
DATA: {
checksum_algorithm?: string;
DATA_TYPE: string;
destination_path: string;
external_checksum?: string;
recursive?: boolean;
source_path: string;
}[];
DATA_TYPE: "transfer";
delete_destination_extra?: boolean;
destination_endpoint: string;
destination_local_user?: string;
encrypt_data?: boolean;
fail_on_quota_errors?: boolean;
filter_rules?: {
DATA_TYPE: "filter_rule";
method: "include"
| "exclude";
name: string;
type?: "file" | "dir";
}[];
preserve_timestamp?: boolean;
recursive_symlinks?: "ignore"
| "keep"
| "copy";
skip_source_errors?: boolean;
source_endpoint: string;
source_local_user?: string;
sync_level?: 0 | 2 | 1 | 3;
verify_checksum?: boolean;
},
"DATA_TYPE",
>;
} & BaseServiceMethodOptions Optional
sdkOptions: SDKOptions
See
https://docs.globus.org/api/transfer/task_submit/#submit_transfer_task