The ftp message system

Addresses for ftp

In the ftp message system, messages are stored in directories under a root directory on an ftp host. The ftp host and the root directory are specified by message system control parameters held in the registry or initialization file, and the address of each user is the subdirectory where their messages are held.

For a list of operating systems for which ftp is supported, see [external link] SQL Anywhere Supported Platforms and Engineering Status.

FTP message control parameters

The ftp message system uses the following control parameters:

  • encode_dll   If you have implemented a custom encoding scheme, you must set this to the full path of the custom encoding DLL that you created.

    See Encoding and compressing messages.

  • host   The host name of the computer where the messages are stored. This can be a host name (such as ftp.ianywhere.com) or an IP address (such as 192.138.151.66).

  • user   The user name for accessing the ftp host.

  • password   The password for accessing the ftp host.

  • root_directory   The root directory within the ftp host site, under which the messages are stored.

  • port   Usually not required. This is the IP port number used for the Ftp connection.

  • debug   This is set to either YES or NO, with the default being NO. When set to YES, debugging output is displayed.

  • active_mode   This is set to either YES or NO, with the default being NO (passive mode).

  • reconnect_retries   The number of times the link should try to open a socket with the server before failing. The default value is 4. The setting of this parameter only affects reconnects. The initial connection made by the FTP link is not affected.

  • reconnect_pause   The time in seconds to pause between each connection attempt. The default setting is 30 seconds. The setting of this parameter only affects reconnects. The initial connection made by the FTP link is not affected.

  • suppress_dialogs   If set to true, the Connect window does not appear after failed attempts to connect to the FTP server. Instead, an error is generated.

  • invalid_extensions   A comma-separated list of file extensions that you do not want dbremote to use when generating files in the messaging system.


Troubleshooting ftp problems