getssl icon indicating copy to clipboard operation
getssl copied to clipboard

Custom FTP port?

Open Kadigan opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. One of our hosts runs their FTP on port 2898.

Describe the solution you'd like I'd like to have the option to set this port, instead of being limited to the default port 21 for FTPES (or any FTP mode, really).

Describe alternatives you've considered The only alternative I see would be to set up a local socket/port proxy, which would require me to install an always-active VM (I'm on macOS, doing these things is insanely problematic there).

Additional context N/A

Kadigan avatar Apr 27 '22 16:04 Kadigan

Hi @Kadigan

I thought you could do this using FTP_OPTIONS (which I added for testing and never documented) but you can't, so I'll add this to my todo list.

timkimber avatar Apr 27 '22 21:04 timkimber

Hi Kadigan I've just added support for FTP_ARGS and updated test 34-ftp-passive.bats to test it, but only for ftp/lftp.

I've not added for FTPS/FTPES but can easily add if you need me to.

timkimber avatar May 17 '22 20:05 timkimber

Hey!

I've not added for FTPS/FTPES but can easily add if you need me to.

That would be my primary use case (since the service provider that insists on using a custom port also insists on encryption), so yes please.

Kadigan avatar May 17 '22 22:05 Kadigan