Production upload over FTPS (explicit TLS, no fallback) #26

Merged
Sluijsens merged 1 commits from feature/asf-ftps-upload into master 2026-11-19 00:21:25 +01:00
Owner

The hosting partner offers FTP over TLS after all (Bryan, 2026-11-19, via SLS-Main), so the production upload no longer is plain FTP.

  • upload-production.sh: explicit FTPS (AUTH TLS) is forced: ftp:ssl-allow yes, ftp:ssl-auth TLS, ftp:ssl-force yes, ftp:ssl-protect-data yes, ftp:ssl-protect-list yes; no fallback to plain FTP; certificate verification on (ssl:verify-certificate yes); passive mode; host is given as ftp://host
  • Unchanged: the three rounds, the folder restrictions, no backup files, FTP_PORT check
  • Tests (e2e/deployScripts.e2e.ts): every lftp session has the TLS settings and none has ssl-allow no or verify-certificate no
  • Docs: deploy-and-ci.md (section FTPS to production replaces Plain FTP), cms-integration.md, workflow comments
  • Not in this PR: the FTP-only correction in aidlc-docs/features/asf-production-iis/plan.md; that file is only on branch feature/asf-production-iis (SLS)
  • The real FTPS connection is not tested here; Bryan tests it with the PROD_HOST_* secrets. If the host has a non-public certificate, the CA file is needed and Bryan is asked first.

No production deploy and no release branch.

Generated with Claude Code

The hosting partner offers FTP over TLS after all (Bryan, 2026-11-19, via SLS-Main), so the production upload no longer is plain FTP. - upload-production.sh: explicit FTPS (AUTH TLS) is forced: ftp:ssl-allow yes, ftp:ssl-auth TLS, ftp:ssl-force yes, ftp:ssl-protect-data yes, ftp:ssl-protect-list yes; no fallback to plain FTP; certificate verification on (ssl:verify-certificate yes); passive mode; host is given as ftp://host - Unchanged: the three rounds, the folder restrictions, no backup files, FTP_PORT check - Tests (e2e/deployScripts.e2e.ts): every lftp session has the TLS settings and none has ssl-allow no or verify-certificate no - Docs: deploy-and-ci.md (section FTPS to production replaces Plain FTP), cms-integration.md, workflow comments - Not in this PR: the FTP-only correction in aidlc-docs/features/asf-production-iis/plan.md; that file is only on branch feature/asf-production-iis (SLS) - The real FTPS connection is not tested here; Bryan tests it with the PROD_HOST_* secrets. If the host has a non-public certificate, the CA file is needed and Bryan is asked first. No production deploy and no release branch. Generated with [Claude Code](https://claude.com/claude-code)
Sluijsens added 1 commit 2026-11-19 00:09:23 +01:00
Production upload over FTPS (explicit TLS, no fallback) instead of plain FTP
Continuous Integration / check (pull_request) Successful in 2m9s
Continuous Integration / build-test (pull_request) Skipped
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 9m9s
Continuous Integration / deploy-production (pull_request) Skipped
16f0d323b9
The hosting partner offers FTP over TLS after all. upload-production.sh now forces
AUTH TLS (ssl-force, protect-data, protect-list), verifies the certificate and stays
passive; the three rounds and the folder restrictions are unchanged. Docs, workflow
comments and the lftp tests follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sluijsens merged commit 10d92a84d0 into master 2026-11-19 00:21:25 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SLP_Software/AndreaSlopFotografie#26