Domain/IP invalid with backup_ftp_pre_test turned off

Daniel-Doggy

Verified User
Joined
Nov 16, 2019
Messages
452
Hello everyone,

At the moment I am making a script that allows uploading directadmin admin backups to Object Storage via rclone.
The script I am making is a modification of the ftp_upload.php, ftp_list.php & ftp_download.php

I have added a check that if the port is 443 it will go into my custom function that can handle Object Storage via rclone.

For the ftp_list.php this work fine as it does not check if the domain/IP is valid. (And thus allowing me to use it as bucket name)
But when I want to upload a backup via my custom ftp_upload.php and disable backup_ftp_pre_test option, I still get a Domain/IP invalid error.

Does anyone know if this is expected behavoir? (Directadmin staff?)
As I would think it would also disable the domain/IP check and thus allow me to use it for the bucket name.
 
Back
Top