fileDownload

@NotNull
open fun fileDownload(@NotNull name: @NotNull String, @NotNull callback: @NotNull DownloadCallback): @NotNull TransferController
@NotNull
open fun fileDownload(@NotNull name: @NotNull String, @NotNull dataOutput: @NotNull OutputStream, @NotNull callback: @NotNull StreamDownloadCallback): @NotNull TransferController

Start image upload.

Multiple calls will queue multiple uploads, executed sequentially. This includes file downloads executed from fileUpload.

The upload may be controlled using the TransferController returned by this method.

Return

The object used to control this upload.

Parameters

callback

Receives callbacks from the upload.

See also