FtpDeployTask
Deploys a set of files to a remote FTP server.
Example usage:
| author |
Jorrit Schippers |
|---|---|
| contributor |
Steffen Sørensen steffen@sublife.dk |
| version |
$Id: fd74b0ff71f17a5cf47f4fb0082d9e65839962b7 $ |
| since | 2.3.1 |
| package |
phing.tasks.ext |
__construct()
setHost($host)
setPort($port)
setUsername($username)
setPassword($password)
setDir($dir)
setMode($mode)
setPassive($passive)
setClearFirst($clearFirst)
setDepends($depends)
setFilemode($filemode)
setDirmode($dirmode)
createFileSet()
setLevel(string $level)
string
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
| throws |
|---|
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
_directoryInformations(\Net_FTP $ftp, $remoteFileInformations, $directory)
\Net_FTP
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
stringName of this task
setTaskName(string $name) : string
string
stringA string representing the name of this task for log
getTaskType() : string
stringThe type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
stringThe message to be logged.
integerThe message's priority at this message should have
setDescription(string $desc)
stringThe text describing the task
getDescription() : string
stringThe text description of the task
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
host :
port :
username :
password :
dir :
filesets :
completeDirMap :
mode :
clearFirst :
passive :
depends :
dirmode :
filemode :
logLevel :
description : string
| var |
|---|
string
taskType : string
| var |
|---|
string
taskName : string
| var |
|---|
string
project : \Project