Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right Configuration for explicit ftp over tls #404

Open
jonazarov opened this issue Oct 16, 2023 · 1 comment
Open

Right Configuration for explicit ftp over tls #404

jonazarov opened this issue Oct 16, 2023 · 1 comment

Comments

@jonazarov
Copy link

jonazarov commented Oct 16, 2023

Hi,

what's the right configuration in phploy for explicit ftp over tls? I've tried the following values and it combinations (options separated via |), but it doesn't work:

[production]
    scheme = ftp|ftps
    host = my.host
   ; user = is set in .phploy
   ; pass = is set in .phploy
    ssl = true|false
    passive = false|true
    path = /
    port = 21|22

Also, with my hoster, it is important to limit the number of simultaneous connections. What parameter can I use to achieve this?

@dreadnaut
Copy link
Contributor

I get eternally confused with FTP and TLS and ports, but I think I'm successfully connecting to a similar server leaving most settings are defaults and using only ssl = true

[prod]
  user = [...]
  host = [...]
  path = /
  ssl = true

PHPloy uses a single connection, as far as I understand, so no limiting required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants