Browse Source
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
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
apps/files_external/lib/Lib/Backend/FTP.php
|
|
@ -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://'))) |
|
|
|