tasks/ext/FtpDeployTask.php

Show: inherited
Table of Contents

$Id: FtpDeployTask.php 967 2010-11-04 21:22:16Z mrook $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

\FtpDeployTask

Package: phing\tasks\ext

FtpDeployTask

Deploys a set of files to a remote FTP server.

Example usage:

Parent(s)
\Task < \ProjectComponent
Author
Jorrit Schippers  
Since
2.3.1  
Version
$Id: FtpDeployTask.php 967 2010-11-04 21:22:16Z mrook $  

Properties

Propertyprivate  $clearFirst= 'false'
Default valuefalseDetails
Type
n/a
Propertyprivate  $completeDirMap= ''
Details
Type
n/a
Propertyprivate  $dir= 'null'
Default valuenullDetails
Type
n/a
Propertyprivate  $filesets= ''
Details
Type
n/a
Propertyprivate  $host= 'null'
Default valuenullDetails
Type
n/a
Propertyprotected  $logLevel= 'Project::MSG_VERBOSE'
Default valueProject::MSG_VERBOSEDetails
Type
n/a
Propertyprivate  $mode= 'FTP_BINARY'
Default valueFTP_BINARYDetails
Type
n/a
Propertyprivate  $passive= 'false'
Default valuefalseDetails
Type
n/a
Propertyprivate  $password= 'null'
Default valuenullDetails
Type
n/a
Propertyprivate  $port= '21'
Default value21Details
Type
n/a
Propertyprivate  $username= 'null'
Default valuenullDetails
Type
n/a

Methods

methodpublic__construct( ) : void

methodpubliccreateFileSet( ) : void

methodpublicgetDescription( ) : void

methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

The init method: check if Net_FTP is available

methodpubliclog( ) : void

methodpublicmain( ) : void

The main entry point method.

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetClearFirst(  $clearFirst ) : void

Parameters
Name Type Description
$clearFirst
methodpublicsetDescription( ) : void

methodpublicsetDir(  $dir ) : void

Parameters
Name Type Description
$dir
methodpublicsetHost(  $host ) : void

Parameters
Name Type Description
$host
methodpublicsetLevel( string $level ) : void

Set level of log messages generated (default = info)

Parameters
Name Type Description
$level string
methodpublicsetLocation( ) : void

methodpublicsetMode(  $mode ) : void

Parameters
Name Type Description
$mode
methodpublicsetOwningTarget( ) : void

methodpublicsetPassive(  $passive ) : void

Parameters
Name Type Description
$passive
methodpublicsetPassword(  $password ) : void

Parameters
Name Type Description
$password
methodpublicsetPort(  $port ) : void

Parameters
Name Type Description
$port
methodpublicsetProject( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodpublicsetUsername(  $username ) : void

Parameters
Name Type Description
$username
Documentation was generated by DocBlox 0.17.1.