Hello, not able to perform backup because of curl failure to connect to ftp. Ftp server is running on local network, installed ftp on directadmin debian server and was able to make connection using
Testing with directadmin script from this url : https://help.directadmin.com/item.php?id=502
getting this error
With curl command line
This is out by curl
Thanks for your time.
and then username and password all good logged in.ftp 10.2.16.20
Testing with directadmin script from this url : https://help.directadmin.com/item.php?id=502
getting this error
curl: (7) Failed to connect to 10.2.16.20 port 21: Connection refused
curl return code: 7
With curl command line
curl -v --insecure ftp://10.2.16.20:21 --user "useridassword"
This is out by curl
* Trying 10.2.16.20:21...
* Connected to 10.2.16.20 (10.2.16.20) port 21 (#0)
< 220-Microsoft FTP Service
< 220 banner
> USER user
< 331 Password required
> PASS password
< 230-welcome
< 230 User logged in.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
* Request has same path as previous transfer
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||5559|)
* Trying 10.2.16.20:5559...
* Connecting to 10.2.16.20 (10.2.16.20) port 5559
* connect to 10.2.16.20 port 21 failed: Connection refused
* Failed to connect to 10.2.16.20 port 21: Connection refused
* Failed EPSV attempt. Disabling EPSV
> PASV
< 227 Entering Passive Mode (10,2,16,20,21,184).
* Skip 10.2.16.20 for data connection, re-use 10.2.16.20 instead
* Trying 10.2.16.20:5560...
* Connecting to 10.2.16.20 (10.2.16.20) port 5560
* connect to 10.2.16.20 port 21 failed: Connection refused
* Failed to connect to 10.2.16.20 port 21: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 10.2.16.20 port 21: Connection refused
Thanks for your time.