diff options
author | Josh <josh.t.richards@gmail.com> | 2024-08-27 08:49:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 08:49:24 -0400 |
commit | 6db40992465c869a3d1571968a0ac3700f9224e9 (patch) | |
tree | 294d603bbe0fc41d10d30f71cfc36a2ec1a52a90 /apps/files_external | |
parent | 829642c9e504813bad55e39be7527abe70e488cc (diff) | |
download | nextcloud-server-6db40992465c869a3d1571968a0ac3700f9224e9.tar.gz nextcloud-server-6db40992465c869a3d1571968a0ac3700f9224e9.zip |
fix: custom port handling in UI for FTP External Storage
Signed-off-by: Josh <josh.t.richards@gmail.com>
Diffstat (limited to 'apps/files_external')
-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://'))) |