Skip to content

Commit

Permalink
Merge pull request #47526 from nextcloud/jtr/fix-ftp-custom-port-ui
Browse files Browse the repository at this point in the history
fix(files_external): Handling in FTP UI for custom ports
  • Loading branch information
joshtrichards authored Sep 12, 2024
2 parents 56c744d + 6db4099 commit 2480567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/files_external/lib/Lib/Backend/FTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public function __construct(IL10N $l, Password $legacyAuth) {
->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://')))
Expand Down

0 comments on commit 2480567

Please sign in to comment.