Multi Part Download File
This plug-in provided command downloads files from the Internet using multiple threads, each processing an identically sized file segment based on a variable number of segments.
This command only supports servers supporting range requests. Even if you specify a single segmented download, this command will fail if the target server does not support range requests. Use Download File instead on such servers.
URL
Enter the full HTTP URL to the file that should be downloaded.
Local file path and name
Enter the full path for the local copy of the file on the target system.
Return result in variable
If you wish to receive information on whether the file was successfully downloaded, enter the variable to hold success information here. Possible values are:
- : File was downloaded successfully.
- ERROR: File was not downloaded successfully. Server may not support segmented downloads. Target file may not be writable. An internal error may have occurred.
If specified, this variable must have been previously defined in the setup script using the Set Variable command.
Download segments
Enter the number of segments you would like for your download here. Increasing your number of segments beyond the suggested default may not accelerate download speeds any further.
New segments will not be spawned as segments complete downloading, so your download speeds will approach single segmented file download speeds as your download nears completion.
Proxy Server
If you wish to manually redirect the download through a proxy server, provide that information here.
If proxy information is already defined on the target PC, it will be read in automatically and does not need to be manually repeated in this field.
To bypass pre-defined system proxy settings on the target PC, specify http://direct in this field, and enter any numeric value in the field below, such as 0. This will ensure no proxy server is used for the download process.
Proxy Port
If you have specified a
above, you must enter the port used for the proxy server in this field.Ensure to use a numeric value only. Entering a string in this field will result in no proxy being used. However, variables are allowed in this field, as long as they resolve to numeric values only.
Notes
- Since downloads can take some amount of time, it is recommended you use the Display Dialog command to show a progress dialog while your download is taking place.
- This plug-in is unable to resume interrupted downloads. If you wish to be able to resume interrupted downloads, please use the Download File plug-in instead.
- This plug-in is a setup engine download provider and may be registered as such using the Use Download Engine command. The default number of segments is 4 for setup engine downloads conducted using this plug-in, and this default may be overridden by passing a custom number of segments in the field of the Use Download Engine command.