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.
The attached patch adds a checkbox to FTP destination forms to enable PASV file transfers.
This is handy if your server has a firewall which blocks FTP (as mine does). When the FTP port is block, it can cause issues making outgoing connections.
This patch fixed my issues.
Comment | File | Size | Author |
---|---|---|---|
#6 | backup_migrate.pasv-ftp.patch | 2.47 KB | nicholasThompson |
backup_migrate.ftp_pasv.patch | 2.62 KB | nicholasThompson | |
Comments
Comment #1
ronan CreditAttribution: ronan commentedExcelent, a very nice addition. I'll get it committed as soon as I get a chance. Thanks
Comment #2
aireworth CreditAttribution: aireworth commentedYes very nice - stopped my "can't write file" problems. Many thanks.
Comment #3
sachbearbeiter CreditAttribution: sachbearbeiter commentedis it in the current 7.x-2.2 release?
Comment #4
sachbearbeiter CreditAttribution: sachbearbeiter commentedagain: is it in the current 7.x-2.2 release?
Comment #5
aireworth CreditAttribution: aireworth commentedI used it on a 6.x version - the version no above says 6.x so I suspect it won't work with 7.x versions
Colin
Comment #6
nicholasThompsonIt's not in the 7.x-2.x release (that I could see).
Attached is a patch for the 7.x release.
It'd be awesome of this could make it into the next tagged release. It's a pretty simple addition but completely essential for anyone using PASV FTP servers.
Comment #7
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedThis fixes #967546: # FTP Error: Couldn't write to Mysitename-2010-11-10T10-20-47.mysql.gz when trying to save file on the ftp server. as well. Thanks for this.
Comment #8
ronan CreditAttribution: ronan commentedCommitted. Thanks for the patch
Comment #9
ronan CreditAttribution: ronan commentedComment #11
michaellander CreditAttribution: michaellander commentedThis bug is still occurring for me if it's trying to overwrite an existing file. The patch did however fix the issue for when the file doesn't currently exist. Any ideas?