Skip to content

SFTP

Sync folders from an SFTP server into your Library. This suits the files that vendors, banks, payroll providers and older systems drop on a server every day.

SFTP is a File Sync connector. You enter the server’s details, pick folders, give each one a mode, and Querri keeps them in step with your Library on a schedule. A recurring export with the same columns works well in Concatenate mode, which stacks every file into one table.

  • Use an account that can only read. Querri never writes to the server, but a read-only account means it can’t.
  • The server must be reachable from the internet. Querri refuses private, internal and loopback addresses.
  1. Open Library › Connectors, click + Add a connector, and pick SFTP folder sync.

  2. Fill in the connection details:

    FieldWhat to enter
    HostThe server’s hostname, such as sftp.example.com
    PortUsually 22, the default
    UsernameThe login name on the server
    AuthenticationPassword or Private key
    PasswordWhen you sign in with a password
    Private Key (PEM)When you sign in with a key: the whole PEM private key, including the BEGIN and END lines
    Private Key PassphraseOnly if the private key is encrypted
    Root PathThe folder sync starts from. Defaults to /. Folders above it can’t be picked.
  3. Save. Querri tests the connection before it saves it.

  4. On the setup screen, choose where the files go, add the folders you want, and choose a mode for each. See How it works.

Passwords, keys and passphrases are stored encrypted.

The first time Querri connects, it records the server’s host key. On every later connection, it checks the server presents the same key before it sends your password or key. This protects against a different server answering at the same address.

If the server’s host key changes, for example after the server is rebuilt, syncs stop and the connection shows it needs reconnecting. Check with whoever runs the server that the change is expected before you reconnect.

  • Files and folders under the folders you picked.
  • Skipped: hidden files and folders whose names start with a dot, symbolic links and special files.

An SFTP server has no change feed, so each sync lists the folders and compares them with the last sync. A file renamed on the server is removed and added again under its new name.

The connection test fails. Check the host, port and username, and that the server accepts connections from the internet. A host on a private network can’t be reached.

The connection says it needs reconnecting. The server refused the password or key, or its host key changed. Files already synced stay in the Library.

Some files are missing. Check Recent syncs for files that couldn’t be read. Querri tries them again on the next sync.