Test: FTP/FTPS remote upload #6

Open
opened 2026-06-02 20:29:22 +00:00 by jmiller · 1 comment
Owner

Verify FTP uploader works with various server configurations.

Scope

  • FTP connection and authentication
  • Passive mode
  • FTPS (SSL) mode
  • Remote directory creation
  • Post-upload size verification
  • Error handling for connection failures

Acceptance Criteria

  • Backup uploads to FTP server successfully
  • Remote directory created if it doesn't exist
  • File size verified after upload
  • Passive mode works
  • FTPS connection works
  • Connection failures reported clearly
Verify FTP uploader works with various server configurations. ## Scope - FTP connection and authentication - Passive mode - FTPS (SSL) mode - Remote directory creation - Post-upload size verification - Error handling for connection failures ## Acceptance Criteria - [ ] Backup uploads to FTP server successfully - [ ] Remote directory created if it doesn't exist - [ ] File size verified after upload - [ ] Passive mode works - [ ] FTPS connection works - [ ] Connection failures reported clearly
jmiller added the type: testingpriority: highcomponent: remotestatus: ready labels 2026-06-02 20:29:22 +00:00
Author
Owner

Testing Plan

Pre-requisites

  • FTP server accessible from Joomla server
  • FTP credentials with write access
  • FTPS-capable server for SSL tests

TC-6.1: Basic FTP upload

  1. Configure profile with FTP settings (host, port, user, pass, path)
  2. Run backup
  3. Verify file appears on FTP server at configured path
  4. Verify local backup record shows remote_filename

TC-6.2: Passive mode

  1. Enable passive mode in profile
  2. Run backup with FTP upload
  3. Verify upload succeeds

TC-6.3: FTPS (SSL)

  1. Enable FTPS in profile
  2. Run backup
  3. Verify upload succeeds over SSL

TC-6.4: Remote directory creation

  1. Set FTP path to a non-existent directory
  2. Run backup
  3. Verify directory created and file uploaded

TC-6.5: Size verification

  1. Run backup with FTP upload
  2. Compare local file size with remote file size
  3. Verify they match

TC-6.6: Connection failure

  1. Configure wrong FTP host
  2. Run backup
  3. Verify backup completes locally but FTP error logged
  4. Verify local file preserved

TC-6.7: Keep local copy setting

  1. Set remote_keep_local=0
  2. Run backup with successful FTP upload
  3. Verify local file is deleted
  4. Verify remote file exists
## Testing Plan ### Pre-requisites - FTP server accessible from Joomla server - FTP credentials with write access - FTPS-capable server for SSL tests **TC-6.1: Basic FTP upload** 1. Configure profile with FTP settings (host, port, user, pass, path) 2. Run backup 3. Verify file appears on FTP server at configured path 4. Verify local backup record shows remote_filename **TC-6.2: Passive mode** 1. Enable passive mode in profile 2. Run backup with FTP upload 3. Verify upload succeeds **TC-6.3: FTPS (SSL)** 1. Enable FTPS in profile 2. Run backup 3. Verify upload succeeds over SSL **TC-6.4: Remote directory creation** 1. Set FTP path to a non-existent directory 2. Run backup 3. Verify directory created and file uploaded **TC-6.5: Size verification** 1. Run backup with FTP upload 2. Compare local file size with remote file size 3. Verify they match **TC-6.6: Connection failure** 1. Configure wrong FTP host 2. Run backup 3. Verify backup completes locally but FTP error logged 4. Verify local file preserved **TC-6.7: Keep local copy setting** 1. Set remote_keep_local=0 2. Run backup with successful FTP upload 3. Verify local file is deleted 4. Verify remote file exists
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomBackup#6