zio / zio-ftp

A simple, idiomatic (S)FTP client for ZIO
https://zio.dev/zio-ftp
Apache License 2.0
29 stars 13 forks source link

Ability to disable remote #391

Closed gipeshka closed 6 months ago

gipeshka commented 6 months ago

Hey all!

While using the zio-ftp I've recently faced an issue, when connection to a remote FTP failed with the FTP client error Host attempting data connection 1.2.3.4 is not same as server 5.6.7.8. I assume it is related to the fact that the remote FTP is actually load balanced, as the stackoverflow post describes.

Would it be a good idea to enable a config to disable remote verification on FTP client via setRemoteVerificationEnabled when creating it?

Best, Ilia

regis-leray commented 6 months ago

Hello, We can add this ftp settings :)

Im going to see how we can expose the FTPClient, to support any configuration

gipeshka commented 6 months ago

thank you