Modify ↓
Ticket #323 (closed enhancement: duplicate)
FtpDeployTask doesn't support the passive FTP mode
| Reported by: | joseph.chereshnovsky at gmail dot com | Owned by: | hans |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.0RC1 |
| Component: | phing-tasks-ext | Version: | devel |
| Keywords: | ftp, passive mode | Cc: |
Description
FtpDeployTask.php bundled with latest phing-2.3.3 doesn't support the passive FTP mode.
I was surprised while discovered the sources and wasn't able to find such functionality. So I have added some minor changes to pass the passive mode from build.xml file and enable it by calling Net_FTP->setPassive() method.
I'm new to phing but plan to use it in my work now. So don't know how this process organized here so just attaching the following file with my changes to this message
phing\classes\phing\tasks\ext\FtpDeployTask.php
Attachments
Change History
Changed 3 years ago by joseph.chereshnovsky@…
-
attachment
FtpDeployTask.php
added
Note: See
TracTickets for help on using
tickets.

FtpDeployTask.php file with the FTP passive mode support