Ftp backups failing with ftp_connect(): Timeout has to be greater than 0

FreePBX 15, The backup uses ftp, but fails constantly now with: ftp_connect(): Timeout has to be greater than 0

When ssh’d to the FreePBX server and run # ftp ftp.redacteddomain.tld it attempts to connect with IPv6 and then goes to IPv4, but I can login with same credentials as the filestore ftp server profile.

Where is the settings for ftp which control timeout?
Thanks.

Turns out some installs set a blank timeout period in the ftp server in filestore module. If you have same issue, just add 30 to the timeout value and it will work.

1 Like

Nice fix!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.