Daniel_Dog
Verified User
- Joined
- Nov 16, 2019
- Messages
- 452
Hello everyone,
I am currently trying to setup an vsFTPd backup server for 2 weeks now. For as far as i can tell it works as intended. (My FileZilla client works with that FTP server.)
But it always fails when i use this FTP server for my admin backup. I always get the following message:
User admin has been backed up.
ftp_upload.php exit code: 18
ftp_upload.php output: curl: (18) server did not report OK, got 426
curl return code: 18
Please see this URL and check for curl exit code '(18)': https://help.directadmin.com/item.php?id=2127
Although a backup error has occurred, the upload of valid backups would have still been attempted to ftps://**MY FTP server Address/files
And on my backup server it creates an backup file but its only 2MB where I know for a fact it should be around 89MB big.
And i have tried to following:
1. Change the script from ftp:// to ftps:// (Still same error)
2. Secure FTP setting off and on. (Without "Secure FTP" it does not work (As expected with Explicit FTPS) and when its on still the same error)
3. Use IP address and Domain name. (Still same error but no SSL errors when using IP)
4. And of course combinations of this.
I have also added my vsFTPd config in the case it is relivant.
Final update:
After weeks of testing and trying I just gave up and changed to SFTP (SSH based) backups with the help of zEiter and his SFTP script.
I figured out that the issue was NOT the upload script but my FTP server. (Even tho I still do not know why to this day.)
I am currently trying to setup an vsFTPd backup server for 2 weeks now. For as far as i can tell it works as intended. (My FileZilla client works with that FTP server.)
But it always fails when i use this FTP server for my admin backup. I always get the following message:
User admin has been backed up.
ftp_upload.php exit code: 18
ftp_upload.php output: curl: (18) server did not report OK, got 426
curl return code: 18
Please see this URL and check for curl exit code '(18)': https://help.directadmin.com/item.php?id=2127
Although a backup error has occurred, the upload of valid backups would have still been attempted to ftps://**MY FTP server Address/files
And on my backup server it creates an backup file but its only 2MB where I know for a fact it should be around 89MB big.
And i have tried to following:
1. Change the script from ftp:// to ftps:// (Still same error)
2. Secure FTP setting off and on. (Without "Secure FTP" it does not work (As expected with Explicit FTPS) and when its on still the same error)
3. Use IP address and Domain name. (Still same error but no SSL errors when using IP)
4. And of course combinations of this.
I have also added my vsFTPd config in the case it is relivant.
Final update:
After weeks of testing and trying I just gave up and changed to SFTP (SSH based) backups with the help of zEiter and his SFTP script.
I figured out that the issue was NOT the upload script but my FTP server. (Even tho I still do not know why to this day.)
Attachments
Last edited: