JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
I try to reproduce with:
ftp_port=2202 ftp_local_file=file.txt ftp_ip=37.1xx.xx.xx ftp_username=xx ftp_password_esc_double_quote=xxxx ftp_path=/mnt/Backups/ws23/backups/ ftp_secure=ftps ./ftp_upload.php
But get same error
When I run:
curl -k sftp://3x.1xx.xxx.xxx:2202/mnt/Backups/ws23/backups/ --user xx
It works fine, its listing the contents of directory
When I run
curl -k sftp://3xx.1xx.xxx.xxx:2202/mnt/Backups/ws23/backups --user xx so with no / at end of path
I get the same error:
curl: (56) Failure when receiving data from the peer
I tried in Directadmin with and without / but nothing works.
Does someone have a solution?
Thanks!
Thank you for that , still using is it after all those years on all our servers
Its weird that DA doesn't not support this out of the box
Hello,
The native scripts for FTP backups support only FTP and FTPS. They do not support SFTP yet. A quite time ago I've updated the script and published them here:
https://github.com/poralix/directadmin-sftp-backups
You might use them to get backups to SFTP working.
Thanks, installed and works perfect!
Is this still an issue and require the solution provided above?
I do see an Secure FTP option in directadmin but i keep getting error that my FTP details in incorrect. However, i can connect to the sftp server no problem from anywhere but directadmin
+1 same for me