The host sometimes requires uploading/downloading files. Part of the process can be performed automatically by defining to work with an ActiveX component or when setting the download to Automatic mode (relevant when working with Mozilla browsers, as it is not possible to work with an ActiveX component with this browser). These settings can be configured in the Framework Configuration Editor, in the Natural upload/download node.
Note:
It is required to define Natural Transfer Support in the Host
Properties, Options tab.
Notes:
When the host refers to a specific file name, the file will be downloaded automatically (silently).
When the host does not specify the file name and location, a Windows dialog box will indicate where the file should be saved .
It is possible to determine that the file will automatically overwrite an existing file (without requiring the user to confirm this action). This setting can be configured in the Framework Configuration Editor, in the Natural upload/download node.
When the host provides a name, the file is uploaded automatically (silently).
When the host does not provide a name the Windows File selection dialog box is displayed so that you can select the file to be uploaded.
To install the the ActiveX control on Internet Explorer you will need to configure the security tab.
To adjust ActiveX settings for Internet Explorer
Open Internet Explorer.
Click the Tools menu, and then click Internet Options.
On the Security tab, choose Trusted site and add the site to the trusted site list.
Click on Custom level and scroll down the Security Settings list until you see ActiveX controls and plug-ins.
For Automatic prompting for ActiveX controls, click Enable.
Scroll down to Download signed ActiveX controls and click Enable or Prompt.
Scroll down to Run ActiveX controls and plug-ins and click Enable or Prompt.
Scroll down to Script ActiveX controls marked safe for scripting and click Enable or Prompt.
Scroll down to Automatic prompting for ActiveX controls and click Enable, Click OK, and then click OK again.
After you have completed these steps, log on to the application to run it again.
When the host refers to a specific file name, the download will start automatically, and when the downloading process has been completed, an Open/Save browser dialog box is displayed.
When the host does not specify the file name and location, the ApplinX Download dialog box is displayed where you specify the file name and extension (It is possible to determine that this screen will not be displayed and that the download will start automatically by selecting Automatic download in the Natural upload/download node of theFramework Configuration Editor). Once the downloading process is completed, an Open/Save dialog box is displayed.
The ApplinX Upload dialog box is displayed. Browse and select a file to upload and then click
. When the host provides a name, a message is displayed with the requested file nameWhen uploading files using JSP, you may need to allocate additional memory to your Web server. This is a Web Server limitation and not ApplinX.
When uploading files using .NET add the following line to
your web.config file as a child of
<system.web>:
<httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
Note that the default value of the maxRequestLength attribute is 4096 (4MB). Change the value to suit your needs.
When using ActiveX in the framework for Natural Data Transfer (see Configuration Editor), Natural commands of type OS/DOS are executed on the browser machine automatically by the ApplinX Framework. When not using ActiveX the command is not handled