Merge pull request #47526 from nextcloud/jtr/fix-ftp-custom-port-ui

fix(files_external): Handling in FTP UI for custom ports
pull/47920/head
Josh 2024-09-12 09:34:47 +07:00 committed by GitHub
commit 2480567005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

@ -23,6 +23,8 @@ class FTP extends Backend {
->setText($l->t('FTP'))
->addParameters([
new DefinitionParameter('host', $l->t('Host')),
(new DefinitionParameter('port', $l->t('Port')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
(new DefinitionParameter('root', $l->t('Remote subfolder')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
(new DefinitionParameter('secure', $l->t('Secure ftps://')))