Skip to main content

FTP and SFTP

An FTP or SFTP connector places export files in a folder on your server.

Settings​

The settings tell Send AI how to sign in to your server:

  • Host: The host is the address of the server, such as ftp.example.com.
  • Port: The port is 21 for FTP and 22 for SFTP by default.
  • Username and Password: The username and password are the account Send AI signs in with. SFTP signs in with a password; keys are not supported.
  • Secure: Secure, for FTP only, switches to an encrypted connection (FTPS). It is off by default.

Where the files go​

The folder is set in the FTP export action, under Remote path, per environment. The path starts from the folder the account lands in after signing in, and the folder must already exist.

Files​

Each document gives one file. Its name comes from File name in the action, by default the name and ID of the document, and its extension follows the content, such as .json, .csv or .xlsx. The characters / \ : * ? " < > | in a name become _. A file with the same name as one already in the folder replaces it.

Notifications​

A notification channel on an FTP or SFTP connector writes each event to a file named webhook.json in its remote path. Each event replaces the file of the one before, so an HTTP connector suits notifications better.