Skip to main content
FTP Server connectors provide connection credentials to access the full-featured Arc FTP Server.

Key Capabilities

  • Full-featured embedded FTP server with FTPS (FTP over TLS/SSL) support
  • Multi-client architecture with individual user profiles and directory isolation
  • Configurable permissions for send and receive directories per trading partner
  • Welcome banners, file filtering, and temporary file handling for reliable operations
  • Support for both active and passive modes with configurable port ranges

Overview

The Arc FTP Server is primarily configured on the Profiles page. Then, individual FTP Server connectors provide a unique client profile to authenticate to the FTP Server. The client profile consists of a username (which matches the FTP Server connector’s Connector Id), a password, a set of send and receive directories, and permissions to read and/or write files in these directories. FTP clients are not given permissions to the root of the FTP Server, which means that FTP clients should always cd into the send (to download) and receive (to upload) directories after connecting.

Video Resources

Watch this short video for an overview of how to configure an FTP Server. The video uses an SFTP Server in the example, but the principles are the same for FTP.

Profile Configuration

The FTP Server Profile must be configured before connections can be established with individual FTP Server connectors. Click Profiles on the navbar, then click the FTP Server tab.

Server Configuration

Server implementation settings.

Other Settings

Settings that do not fall into the previous category.

Logging

ログの作成と保存を制御する設定です。

設定説明
Log Levelコネクタが生成するログの詳細度です。サポートを依頼する際は、これをDebug に設定してください。
Log Rotate Interval新しいログファイルを作成するまでに待機する日数です。
Log Delete Interval古いログファイルを削除するまでに待機する日数です。

Miscellaneous

Miscellaneous 設定は、特定のユースケース向けの設定です。

設定説明
Other Settings非表示のコネクタ設定をセミコロン区切りのリストで設定できます(例:setting1=value1;setting2=value2)。通常のコネクタのユースケースや機能では、これらの設定の使用は必要ありません。

Connector Settings

Once you configure the FTP Server profile settings, create and configure an individual FTP Server connector for each trading partner on the Flows page.

Settings Tab

Configuration

設定説明
Connector Idコネクタの静的で一意の識別子です。
Connector Typeコネクタ名とその機能の説明を表示します。
Connector Descriptionコネクタおよびフロー内でのその役割について自由形式の説明を提供するためのオプションフィールドです。

サーバーステータス

コネクタの基盤サービスの現在の状態。以下のステータスが使用可能です:

ステータス説明
アクティブサービスが実行中です。
非アクティブサービスは設定済みですが、現在は実行されていません。
未設定基盤となるプロファイルまたはサービスが設定されていません。
FTP プロファイルを作成済みかどうかに応じて、FTP プロファイルを設定またはFTP プロファイルを表示リンクをクリックして新しいタブでプロファイルを開きます。

User Configuration

Credentials for authenticating to the local FTP server.

Permissions

Settings related to the read and write permissions the configured client has for the Send and Receive folders.

Advanced Tab

Local Folders

Settings related to the folders where clients upload and download files.

Other Settings

Settings not included in the previous categories.

Logging

ログの作成と保存を制御する設定です。

設定説明
Log Levelコネクタが生成するログの詳細度です。サポートを依頼する際は、これをDebug に設定してください。
Log Subfolder Scheme選択した間隔に従って、コネクタがLogs フォルダ内のファイルをグループ化するよう指示します。Weekly オプション(デフォルト)は、コネクタが毎週新しいサブフォルダを作成し、その週のすべてのログをそのフォルダに保存するよう指示します。この設定を空白のままにすると、コネクタはすべてのログをLogs フォルダに直接保存します。多数のトランザクションを処理するコネクタでは、サブフォルダを使用することでログを整理しやすくなり、パフォーマンスが向上します。
Log Messages処理したファイルのログエントリにファイル自体のコピーを含めるには、これをオンにします。これを無効にすると、Transactions タブからファイルのコピーをダウンロードできなくなる場合があります。

Miscellaneous

Miscellaneous 設定は、特定のユースケース向けの設定です。

設定説明
Other Settings非表示のコネクタ設定をセミコロン区切りのリストで設定できます(例:setting1=value1;setting2=value2)。通常のコネクタのユースケースや機能では、これらの設定の使用は必要ありません。

Alerts Tab

SLAs Tab

Establishing a Connection

Each FTP Server connector represents a single trading partner’s connection parameters. The trading partner should connect to the FTP server using the server settings (such as port and TLS mode) from the Profile page and the user configuration settings in the dedicated FTP Server connector (User and Password). Each trading partner has separate Send and Receive directories that are subfolders of the root. The partner should download files from the Send folder and upload files to the Receive folder. The client is not permitted to upload or download files from the root.

Home Directory

The Home Directory setting controls which folder a client lands in when it logs in to an FTP Server connector. Configure it in the connector’s Advanced tab, under Other Settings. Setting a home directory is useful when you migrate from other FTP software that let you configure a landing folder, or for automated systems that upload or download at whatever directory they land in without issuing navigation (cd) commands. The field defaults to empty, but it also accepts a server path:
  • Empty (default): The client lands at the virtual root (/).
  • Set to a path: On successful login, the client’s initial working directory is the specified path. A client that connects and immediately uploads, downloads, or lists files without changing directories operates inside the home directory.
The home directory must be a server path (starting with /) that resolves against the Root Directory defined on the connector’s Profile, and it must match a configured server location; you cannot set it to an arbitrary path that only exists on disk. For the FTP Server connector, the valid locations are:
  • / (the virtual root): this is the default when the field is empty, so setting it explicitly has no additional effect
  • /Send
  • /Receive
The field normalizes your input, so Receive, /Receive, \Receive, and /Receive/ are all treated as the same path. The value is validated when you save the connector: a path that does not match a configured server location is rejected with an error that names the invalid value.
The home directory only sets the initial landing directory at login. It is not a chroot or jail and does not restrict which folders a client can navigate to afterward; folder access is still governed by the permission settings.

Macros

Examples

Common Errors

Error: Could not bind server socket: Permission denied.

Cause This error can appear when you attempt to connect to an FTP server and the process hosting Arc does not have sufficient privileges to establish a listener on the specified port.
In some cases (such as Linux environments and hosted instances running in an Amazon AMI), you cannot use ports below 1024.
Resolution Choose a different port, or change the identity of the process hosting Arc to one with permissions to bind to the port. The Amazon AMI-hosted version of Arc uses the Ubuntu operating system, so CData recommends that you use an Uncomplicated Firewall (UFW) to manage port permission issues. For example, setting up FTP Server to run on port 8021 in Arc and using UFW to forward port 21 to 8021 at the OS level looks like this:
If your environment uses a different Linux operating system, CData recommends that you bind to a port above the restricted range (for example, 8021 for FTP traffic) and use iptables to route incoming requests on the desired port to the allowed port: iptables -t nat -I PREROUTING -p tcp --dport 21 -j REDIRECT --to-port 8021