Creating an FTP partner DSN outbound for FTP client

  1. Select COMMUNICATION > Partner Management.
  2. Edit an FTP partner.
  3. In the DSN Outbound area, click New.
    A DSN named 'Unnamed DSN' is created.
  4. Specify the information in the General DSN Details dialog. The available fields depend on the selected connection type.
    DSN
    Specify a data set name. This way, the complete set of information can be assigned to a send request.
    Description
    Specify a description of the data set name.
  5. On the FTP tab, specify this information:
    FTP Client (Send File to Partner's FTP Server)
    Select this option to determine that the DSN is to act as an FTP client. The files are uploaded to an FTP server.
    Passive Transfer Mode
    When you select this option, the client opens the connection to the server. The client may be behind a firewall, the server must be directly accessible. With active FTP the server opens the data connection to the client. The client must not be behind a firewall, and the firewall must be able to handle these FTP connections.
    FTP Data Type (format)
    Specify the FTP transfer format: IMAGE, ASCII, LOCAL, or EBCDIC. The format is transferred to the FTP server. The format should be converted by the FTP server.
    Remote FTP Directory
    Specify a directory on the FTP server. You can store the transferred data there. The path is used to change the path using the CD command. If this information is omitted, the CD command cannot be executed.
    Remote File Name Template
    Specify the name under which the remote file is stored on the FTP server. Here, the parameters in capital letters are substituted.
    Parameter
    $XTNUMBER Unique sending number

    Example: 'TEST$XTNUMBER.txt' becomes 'TEST4711.txt'

    $QENTRYID Internal unique sending number
    $FREMDID Reference to the external application that sent the order
    $FW_{Column name from XRFILES} Information from a received file. For example, if you specify $FW_VFILENAME, the virtual file name of the received file is inserted when a received file is forwarded to this DSN.
    Example: TEST $XTNUMBER.txt becomes TEST4711.txt'.
    Sending Type (related to point of time)
    Specify an option:
    Option Description
    Immediately The call attempt starts immediately
    Not later than The call attempt starts after the time that you specify in the Hour, Min., Sec. fields.
    Via time series A time schedule that is defined in the communication system can be used.
    Note: Select Via time series to display the Assign schedules button. If available, click New to assign a schedule.
    Minimum Transaction Security
    Specify an option.
    None There is no securing of transactions.
    Temporary Transfer Name The file is transferred under a temporary file name. After a successful transmission the file name is replaced by the remote file name. For this purpose, the parameters that are listed in the Remote File Name Template field are used. In case of a termination of the connection, this allows the peer to detect that the file has not been fully transferred.
    Delete after Download Select this option to delete the file after a successful transmission.
  6. On the Extended settings tab, specify this information:
    Individual FTP Commands
    If necessary, you can adjust the access to the FTP server individually.
    • Connection establishment: FTP commands that will be executed when the TCP/IP connection is established. These commands replace the login. The parameters of the FTP tab are not used.
    • Before Data Transfer: FTP commands that are executed before downloading the file. These replace the FTP file type setting. If the FTP file type setting is required, you must explicitly define it as a command.
    • After Data Transfer: FTP commands that are executed after the file is transferred.
    • Before Disconnect: FTP commands that are executed before the data connection is terminated.
    Insert Record Separator
    Select the check box to insert a separator between records.
    Record length
    Specify the number of characters after which the separator is inserted.
    Record Separator HEX
    Specify the separator that is inserted at the end of a sentence in hexadecimal notation. Example: 0A (line feed) or 0D0A for CR LF.
    Conversion
    Specify the conversion to be performed by Exchange Services before transmission.
    These options are available: None, ASCII to EBCDIC, EBCDIC to ASCII.
    Send Priority
    Select the priority of the send job: low, medium, or high.
    Individual Send Directory
    Select the check box and specify an individual send directory in the provided field.
    Archiving
    Select the check box and select Individual Archive Directory to specify the archive directory in the provided field.
  7. Click OK.