Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
Thank you for this module, i use it a lot, and it came to my attention several weeks ago, an issue regarding the declaration of ftp_pasv.
function feeds_ftp_fetcher_connect($server, $username, $password, $port) {
if ($connect = ftp_connect($server, $port)) {
ftp_login($connect, $username, $password);
ftp_pasv($connect, TRUE);
return $connect;
}
return FALSE;
}
I was receiving errors like: "Cannot change directory...", "Cannot retrieve file..." and so on.
My solution for my client was simple, remove ftp_pasv entirely or just use ftp_pasv($connect, FALSE);
But it's not oke for this module, i think it really needs an option for ACTIVE/PASSIVE.
Thank you.
Comments
Comment #1
rhigginsME CreditAttribution: rhigginsME commentedI have submitted a patch in https://www.drupal.org/node/2793743#comment-11571383 that fixes this issue.
Comment #2
rhigginsME CreditAttribution: rhigginsME commented