DMBrowser.Download Method

Definition

Downloads a file from the external URL to provide to the OpenFileDialogHandler method.

public virtual void Download(string fileName, string url, TimeSpan downloadingTimeout)

Parameters

 fileName  string

 url  string

 downloadingTimeout  TimeSpan

The timeout is limited to 5 minutes.

Supports any publicly accessible URL, such as:

  • Amazon S3 bucket
  • Azure storage
  • CDN services like AWS CloudFront CDN

Note that the file hosting platform utilized in the example below is provided for demonstration purposes only. You can use any file sharing and storage platforms which allow download.

Examples

tab0.Download ("LoremIpsum.docx", "https://d149yd38g6ldk.cloudfront.net/LoremIpsum.docx");