Hi Greg –
Thanks for the responses. We added in the SSH2 library after your first response, and then updated the plug-in after your second response.
It appears to successfully ftp the backup; however, it does throw an error at the tail end of the background process when it tries to close the ftp connection. Can you help with this? Error is below –
Warning: ftp_close(): supplied resource is not a valid FTP Buffer resource in /var/www/mysite/wp-content/plugins/cyan-backup/includes/protocol-sftplibrary.php on line 27 Warning: Cannot modify header information – headers already sent by (output started at /var/www/mysite/wp-content/plugins/cyan-backup/includes/protocol-sftplibrary.php:27) in /var/www/mysite/wp-content/plugins/cyan-backup/cyan-backup.php on line 564 {“result”:true,”method”:”backup”,”backup_file”:”\/tmp\/mysite.20140313.171640.zip”,”backup_date”:”March 13, 2014 @ 5:16 pm”,”backup_size”:”83.45 MB”,”backup_deleted”:null}