Closed (won't fix)
Project:
Backup and Migrate
Version:
7.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2012 at 13:59 UTC
Updated:
4 May 2013 at 23:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
-otto- commentedProblem
Hi there,
I'm trying to use the sandbox module feeds_ftp_fetcher with drupal 7.
I fixed some issues in the sandbox but also ran into a problem with destnation.ftp.inc
I kept getting 'unable to connect'errors and tracked it down to this (line 120):
if (!ftp->__conn && !drupal_ftp_connected($ftp)) {Proposed solution
Connection is empty so remove the ! before first condition.
Use empty() to check for connection:
if (empty(ftp->__conn) && !drupal_ftp_connected($ftp)) {Patch
I attached a patch for this minor fix.
Comment #2
ronan commentedLooks good. Committed to dev.
Thanks
Comment #4
smitty commentedReopening this issue because I am still getting these 'unable to connect' errors although the ftp transfer works well (Version 7.x-2.3):
Example:
The files are saved properly on MyFTPServer.
So I think there must be an additional reason causing this error.
Comment #5
ronan commentedI'm not able to reproduce this, but if your backups are still working, then I'm not sure how much I'd worry about it. Reopen if you have more info.
Comment #5.0
ronan commentedRemoved all text.