Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
SFTPGo for camera uploads
Cameras (Canon R1/R3 FTP, Sony, Nikon) send to SFTPGo; SFTPGo writes into <INGEST_ROOT>/<login>/ and the
PhotoReport worker picks the files up. SFTPGo has no users of its own: every login is checked by the API through
the external authentication hook (/v1/sftpgo/auth), against the FTP logins and passwords made in the app.
- Install SFTPGo on the ingest container, start from
sftpgo.json.example(upload_mode1 writes to a temp name and renames when complete, so the worker never sees half a file). - Set the same random key (24+ characters) in the hook URL and in
apps/api/.envasSFTPGO_HOOK_KEY. - Open FTP 21 and the passive range in the firewall; set
force_passive_ipto the public address if behind NAT. - In the app (Metadados -> Logins FTP), create a login per camera body; the password is shown once.