Skip to main content
Copy files between cloud and instance.

Signature

Parameters

str
required
path to source of object to copy
str
default:"/workspace"
path to target of copy operation
Optional[str]
id of the instance
Optional[str]
id of cloud connection on your account (get from calling ‘vastai show connections’)
str
default:"Instance to Cloud"
type of transfer, possible options include Instance To Cloud and Cloud To Instance
bool
show what would have been transferred
bool
skip based on size only, not mod-time or checksum
bool
skip all files that exist on destination
bool
skip files that are newer on the destination
bool
delete files on dest excluded from transfer
Optional[list]

Returns

dict

Example