Bug 35724: (QA follow-up) Also account for port in FTP
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 27 Feb 2024 11:08:59 +0000 (11:08 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 19 Apr 2024 16:31:37 +0000 (18:31 +0200)
commitd1bd2e9c036db439d969aa470410abaf8e727f08
tree255656532ce7b6b20b86d49afc91cd59db9b8168
parente881ace64a99106520e84426439f98e55a0d1c80
Bug 35724: (QA follow-up) Also account for port in FTP

We were only passing port into SFTP connections.. now that we allow
defining it, we should also pass it to FTP connections just in case
someone is still using those.

This patch adds such functionality and defaults to port 21 in this case
when the port isn't defined.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Edifact/Transport.pm