Download File Action
InstallAnywhere 2021
You can use the Download File action to download a file during installation using FTP, HTTP, HTTPS, SFTP, or Anonymous FTP protocol. You specify information regarding this action on the Download File Action customizer.
The Properties tab of the Download File Action customizer includes the following options:
Option |
Description |
|||||||||||||||
Choose Protocol Type |
Select one of the following protocol types to identify the method that will be used to download the specified file:
|
|||||||||||||||
Enter URL |
Enter the URL of the file that will be downloaded. |
|||||||||||||||
User Name Password |
Enter the login credentials for the selected protocol type. Note:If HTTP or HTTPS is selected for Choose Protocol Type, the User Name and Password fields are disabled. If Anonymous FTP is selected, the User Name field is disabled but the Password field is enabled. Important:To encrypt the password using Project Automation, use the following API call and then set it to the action: ProjAutoRuntimeFacade.getEncryptedPassword(String <password_to_be_encrypted>, String <absolute_project_file_path>) |
|||||||||||||||
Size of the file (in bytes) |
Enter the size of the file to be downloaded. This helps in determining the necessary total space required by the installer for complete installation. |
|||||||||||||||
Port |
Enter the appropriate port number for the selected protocol type. The default values are as follows:
|
|||||||||||||||
Destination |
Specify the following information to identify the destination information:
|
|||||||||||||||
Show indeterminate dialog |
Choose this option to show a message dialog while the file is downloading that displays the message you enter in the associated text box. The default message is Downloading File... |
|||||||||||||||
Do not uninstall |
Select this option if you do not want the downloaded file to be uninstalled when the application is uninstalled. |
Rules, Tags, and Rollback Tabs
For information on the other tabs on this customizer, see the following:
• | Rules—Use this tab to add rules to the selected action. For more information, see Assigning a Rule to an Action and Rules Reference. |
• | Tags—Use this tab to add build configuration tags to the selected action. For more information, see Assigning Tags to Project Elements. |
• | Rollback—Use this tab to specify rollback behavior for the selected action. For more information, see Configuring Installation Rollback Behavior. |
See Also