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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ronan’s picture

Excelent, a very nice addition. I'll get it committed as soon as I get a chance. Thanks

aireworth’s picture

Yes very nice - stopped my "can't write file" problems. Many thanks.

sachbearbeiter’s picture

is it in the current 7.x-2.2 release?

sachbearbeiter’s picture

again: is it in the current 7.x-2.2 release?

aireworth’s picture

I 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

nicholasThompson’s picture

Priority: Normal » Major
FileSize
2.47 KB

It'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.

nicholas.alipaz’s picture

ronan’s picture

Committed. Thanks for the patch

ronan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

michaellander’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Closed (fixed) » Fixed

This 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?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.