

If user changes the file name in a prompted download saving dialog, theĪctual name of saved file will be different. Note: The file name is not always the same as the actual one saved in localĭisk. Returns string - The file name of the download item. Returns boolean - Whether the download has user gesture. Returns string - The origin URL where the item is downloaded from. downloadItem.cancel() Ĭancels the download operation. Returns boolean - Whether the download can resume. Otherwise resume() will dismiss previously received bytes and restart the download from the beginning. Note: To enable resumable downloads the server you are downloading from must support range requests and provide both Last-Modified and ETag header values.
/Docker_(software)-Logo.wine.png)
Resumes the download that has been paused. Returns boolean - Whether the download is paused.

Returns SaveDialogOptions - Returns the object previously set by tSaveDialogOptions(options). The API is only available in session's will-download callback function. This API allows the user to set custom options for the save dialog that opens Properties as the options parameter of dialog.showSaveDialog().
