Modify ↓
Ticket #241 (closed defect: fixed)
FtpDeployTask reports FTP port as FTP server on error
| Reported by: | Johan Willard <johan@…> | Owned by: | hans |
|---|---|---|---|
| Priority: | low | Milestone: | 2.3.1 |
| Component: | phing-tasks-ext | Version: | devel |
| Keywords: | Cc: |
Description
Looks like a typo. Patch included below:
--- FtpDeployTask.php Wed Apr 16 09:20:00 2008
+++ classes\phing\tasks\ext\FtpDeployTask.php Tue Apr 15 14:02:06 2008
@@ -126,10 +126,10 @@
$ftp = new Net_FTP($this->host, $this->port);
$ret = $ftp->connect();
if(PEAR::isError($ret))
- throw new BuildException('Could not connect to FTP server '.$this->post.' on port '.$this->port.': '.$ret->getMessage());
+ throw new BuildException('Could not connect to FTP server '.$this->host.' on port '.$this->port.': '.$ret->getMessage());
$ret = $ftp->login($this->username, $this->password);
if(PEAR::isError($ret))
- throw new BuildException('Could not login to FTP server '.$this->post.' on port '.$this->port.' with username '.$this->username.': '.$ret->getMessage());
+ throw new BuildException('Could not login to FTP server '.$this->host.' on port '.$this->port.' with username '.$this->username.': '.$ret->getMessage());
if($this->clearFirst) {
// TODO change to a loop through all files and directories within current directory
Attachments
Change History
comment:2 in reply to: ↑ 2001 Changed 3 years ago by izvaqfyx
GArnDW <a href=" http://ufcnvamlocpe.com/">ufcnvamlocpe</a>, [url= http://hrtursotbokq.com/]hrtursotbokq[/url], [link= http://idhfweisdpqv.com/]idhfweisdpqv[/link], http://nigwtvhcxzkd.com/
Note: See
TracTickets for help on using
tickets.

This bug has been fixed in the SVN tree, revision r381.
Thank you for the report, and for helping us make Phing better!