First, this is diffrent from http://drupal.org/node/440972
- I can save backups to a (foreign host) ftp directory (manually and scheduled)
- I get all backups on this ftp site listed on admin/content/backup_migrate/destination/list/files/[hash]
But when I click download (or restore) I am redirected to admin/content/backup_migrate/ and nothing happens, no download and no drupal_set_message mesage appears. Just nothing. Watchdog does report anything either. The download link is
/admin/content/backup_migrate/destination/downloadfile/[hash]/[file].mysql
Does anyone have an idea whats going on? My ftp settings are all ok, the ftp user has read and write access to folder and files and there is no connection problem.
(a replaced hash and filename in this post to generate a generic issue)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ftpRestoreBug.patch | 420 bytes | Korchkidu |
Comments
Comment #1
Ghostthinker commentedNo idea? This is still a problem. My backup files are gzipped and about 17 MB. Any ideas? Latest stable version installed
Comment #2
jcs commentedSame problem here with 6.x-2.4
Comment #3
Korchkidu commentedSame problem here also with version 6.x-2.4 except that I get an error message stating that "Could not restore because the file could not be loaded from the destination." while it can write the backup correctly.
Any idea?
Comment #4
Korchkidu commentedHi,
I think I found the problem. function drupal_ftp_ftp_to_file in destionations.ftp.inc was returning FALSE on error and nothing on success... See attacked patch. Not sure it is the primary problem causing this issue but it works for me now, at least.
Best regards.
Comment #5
Korchkidu commentedComment #6
Ghostthinker commentedReviewed ad tested on 3 site pairs (live and dev), works like a charme. Please include in next release.
Comment #7
ronan commentedLooks good, thanks!