Transferring Natural Data to/from the Host

The host sometimes requires uploading/downloading files. Settings can be configured in the Framework Configuration Editor, in the Natural upload/download node. Make sure you define Natural Transfer Support in the Host Properties > Options tab.

Note:
In earlier ApplinX versions, Natural data could be transferred using ActiveX control. This is no longer supported.


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 the Framework 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.

The following applies when uploading large files (more than 4 MB):

  • 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:
    The default value of the maxRequestLength attribute is 4096 (4MB). Change the value to suit your needs.