File Search: source drivers and connection test (SFTP, FTP/FTPS, WebDAV, network folder)
Part of #1379.
One FileSourceDriver interface (test, walk, open stream) with drivers for SFTP (host-key pinning), FTP / explicit and implicit FTPS (certificate fingerprint pinning for self-signed servers, PASV data connections only to the control IP), WebDAV (PROPFIND through the SSRF-guarded HTTP client; Nextcloud, ownCloud, NAS) and mounted folders (self-hosted only, below FILE_SOURCE_ROOTS, realpath containment). POST /api/file-search/test tests unsaved settings through the worker and returns a checklist with plain-language errors.
Cloud: public hosts only (SSRF policy). Self-hosted: internal hosts through SSRF_ALLOWED_HOSTS. Drivers live in ee/ (only the worker uses them).
Triage check: this scope shipped in merged #1395 and is present on current main.
- The shared driver/session contract and SFTP, FTP/explicit+implicit FTPS, WebDAV and mounted-folder drivers are in
sources/. They include SSH host-key pinning, TLS fingerprint confirmation, passive transfers to the control address, guarded WebDAV requests and realpath containment belowFILE_SOURCE_ROOTS; the local driver refuses Cloud. POST /file-search/testpasses unsaved settings through the service to the worker. Itsinternal test handlerreturns checklist steps, fingerprint confirmation and categorized errors.sources.spec.tscovers path/error helpers and passive-address handling. #1395 records the container-backed protocol tests and Cloud/self-hosted security checks.
This is a source/status verification; I did not rerun those live source integrations today. Closing this delivered child issue; #1379 remains open for the other outstanding scopes.