Modify

Ticket #323 (closed enhancement: duplicate)

Opened 3 years ago

Last modified 3 years ago

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

FtpDeployTask.php Download (5.9 KB) - added by joseph.chereshnovsky@… 3 years ago.
FtpDeployTask.php file with the FTP passive mode support

Change History

Changed 3 years ago by joseph.chereshnovsky@…

FtpDeployTask.php file with the FTP passive mode support

comment:1 Changed 3 years ago by mrook

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #338, closing.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.