move

abstract suspend fun move(from: String, to: String, destinationBucket: String? = null)(source)

Moves a file under from to to

Parameters

from

The path to move from

to

The path to move to

destinationBucket

The bucket to move the file to. If null, the file will be moved within the same bucket

Throws

or one of its subclasses if receiving an error response

HttpRequestTimeoutException

if the request timed out

on network related issues