> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FTP over TLS directory observations

> Read one flat directory using explicit or implicit TLS and protected passive transfers.

Follow the [file app app guide](https://docs.bijection.com/integrations/native-sftp.md) and bind
the SFTP app's `provider` with `ftpsDirectory("ftp.example.com:21",
credential, label)`. Pass the same label to the receiver binder and as the app's `data`. Seal a credential.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "protocol": "ftp",
  "security": "explicit_tls",
  "directory": "/incoming",
  "user": "drop-reader",
  "password": "<password>",
  "trustedCertificate": "<optional PEM trust anchor>"
}
```

For implicit TLS use `implicit_tls` and the server's implicit TLS port,
usually 990. The driver requires TLS and peer verification before login,
and uses TLS for every passive transfer. The server must serve `MLST`
and `MLSD` machine-readable facts and allow passive data connections to
its control peer address on ports admitted by the deployment's egress policy.

Observations are keyed by relative file name and resume strictly after the
last committed name. One flat directory may contain up to 2,048 entries
in 1 MiB of listing bytes. Only regular files are read. The driver checks
size, modification time and any available unique fact around each bounded
reread, and releases a range only if the body matches the observed digest.
Files up to 1 MiB are retained and larger files receive metadata.
The source does not infer deletes or write to the server.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.