Sign in

Can’t synchronize to OVH via FTPS or SFTP

  • This topic has 7 replies, 2 voices, and was last updated 2 years, 3 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5744
    Avatar photoGuenael

    Hi!

    I’m trying to synchronize my website to an OVH hosting (Kimsufi) but Publii 0.38.2 only allows me to connect via unencrypted FTP. FTPS and SFTP work fine with FileZilla, so I don’t see any problem on OVH’s end. I don’t get any log pertaining to this in the Log viewer.

    Is there anything I can test?

    Thank you!

    #5776
    Avatar photoTomasz Dziuda

    Regarding FTPS – please check if option “Require valid certificate” is disabled.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5778
    Avatar photoGuenael
    Tomasz Dziuda wrote:

    Regarding FTPS – please check if option “Require valid certificate” is disabled.

    It’s disabled. I get the error in the attached image.

    #5828
    Avatar photoTomasz Dziuda

    @Guenael – I suppose that it seems that your hosting is not compatible with FTP library used in Publii.

    The error is raised by the following condition

    if ((cmd === ‘AUTH TLS’ && code !== 234 && self.options.secure !== true)
    || (cmd===’AUTH SSL’&&code!==334)
    || (cmd===’PBSZ’&&code!==200)
    || (cmd===’PROT’&&code!==200)) {
    Maybe it is caused by the following thing mentioned in this issue:
    Remote-FTP check valid features list. For multiple servers, it was a bad thing to have returned the feature list and included it. But he did not endorse it. That’s why it checks. That is why the PASV is 2x.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5924
    Avatar photoGuenael

    Hi again Tomasz,

    Sorry for the late reply.

    OVH is the main hosting provider in Europe – hands down. It will be a problem for a lot of people if it doesn’t work with OVH. Should I open an issue on GitHub?

    Best,

    Guénaël

    #5928
    Avatar photoTomasz Dziuda

    Hi Guenael,

    If I correctly see it is a probably first report of this kind of issue with OVH. So it seems that it does not affect such a big part of our userbase.

    Anyway at this moment I cannot do to much with this, because the only solution will be changing the FTP library – but we have to be very careful with this so most probably we will release a plugin with a new library (I have some candidates after a research) and if a bigger userbase will test it, then we will replace the basic one.

    But it is a topic for Q3 2021 at this moment, because we need to allow Publii to use plugins.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #5933
    Avatar photoGuenael

    Thank you for the answer, and for researching this! I’d be happy to help test it if you’re interested.

    Best,

    Guénaël

    #5956
    Avatar photoTomasz Dziuda

    Thank, I have made a note and I will back to you when I will have some solution in form of plugin  🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.