Transferring Natural Data to/from the Host

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.


Transferring Data using ActiveX

Notes:

  1. ActiveX will work only if you have Microsoft .NET Framework version 3.5/4.0 installed on your machine.
  2. The site using the ActiveX needs to be defined as a "trusted site". Under Tools > Internet Options > Security, click Custom level and under ActiveX controls and plug-ins > Allow Scriptlets check Enable.

Downloading Data

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.

Uploading Data

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.

Configuring the Security Tab for Internet Explorer

To install the the ActiveX control on Internet Explorer you will need to configure the security tab.

Start of instruction setTo adjust ActiveX settings for Internet Explorer

  1. Open Internet Explorer.

  2. Click the Tools menu, and then click Internet Options.

  3. On the Security tab, choose Trusted site and add the site to the trusted site list.

  4. Click on Custom level and scroll down the Security Settings list until you see ActiveX controls and plug-ins.

  5. For Automatic prompting for ActiveX controls, click Enable.

  6. Scroll down to Download signed ActiveX controls and click Enable or Prompt.

  7. Scroll down to Run ActiveX controls and plug-ins and click Enable or Prompt.

  8. Scroll down to Script ActiveX controls marked safe for scripting and click Enable or Prompt.

  9. 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.

Transferring Data without using ActiveX

Downloading Data

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.

Uploading Data

The ApplinX Upload dialog box is displayed. Browse and select a file to upload and then click Upload. When the host provides a name, a message is displayed with the requested file name

Uploading Large Files (more than 4MB)

JSP

When uploading files using JSP, you may need to allocate additional memory to your Web server. This is a Web Server limitation and not ApplinX.

.NET

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.

Activating a Natural Command

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