Download.allowOverwrite

bool allowOverwrite() @property

Get allowOverwrite property.

Returns

Whether or not the download is allowed to overwrite an existing file on

disk. If this property is false and the destination already exists, the download will fail.

void allowOverwrite(bool propval) @property

Set allowOverwrite property.

Parameters

propvalWhether or not the download is allowed to overwrite an existing file on disk. If this property is false and the destination already exists, the download will fail.