diff options
author | Josh <josh.t.richards@gmail.com> | 2024-09-12 09:34:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 09:34:47 -0400 |
commit | 2480567005776cc96d543b52992c83a41d75d1a6 (patch) | |
tree | 6c45a13c56038523eaf45696e0ac69ae2a83ef4d /apps/files_external/lib | |
parent | 56c744d26322a379891d3a4a9096a620c44f4e47 (diff) | |
parent | 6db40992465c869a3d1571968a0ac3700f9224e9 (diff) | |
download | nextcloud-server-2480567005776cc96d543b52992c83a41d75d1a6.tar.gz nextcloud-server-2480567005776cc96d543b52992c83a41d75d1a6.zip |
Merge pull request #47526 from nextcloud/jtr/fix-ftp-custom-port-ui
fix(files_external): Handling in FTP UI for custom ports
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/Lib/Backend/FTP.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Backend/FTP.php b/apps/files_external/lib/Lib/Backend/FTP.php index 2093531789f..cdf7d187b4d 100644 --- a/apps/files_external/lib/Lib/Backend/FTP.php +++ b/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://'))) |