Use this function to download a file using the same session :
ChromiumWindow1.ChromiumBrowser.StartDownload(request.url);
You will also have to add these events :
- ChromiumWindow1.ChromiumBrowser.OnBeforeDownload
- ChromiumWindow1.ChromiumBrowser.OnDownloadUpdated
Code: Select all
///
// Called before a download begins. |suggested_name| is the suggested name for
// the download file. By default the download will be canceled. Execute
// |callback| either asynchronously or in this function to continue the
// download if desired. Do not keep a reference to |download_item| outside of
// this function.
///
Code: Select all
///
// Called when a download's status or progress information has been updated.
// This may be called multiple times before and after on_before_download().
// Execute |callback| either asynchronously or in this function to cancel the
// download if desired. Do not keep a reference to |download_item| outside of
// this function.
///
http://magpcss.org/ceforum/apidocs3/pro ... ndler.html