Hi,
I set up an SFTP server and try to make a backup to it.
But constantly get error:
curl: (56) response reading failed
curl return code: 56
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!
I set up an SFTP server and try to make a backup to it.
But constantly get error:
curl: (56) response reading failed
curl return code: 56
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!