classes/phing/tasks/ext/ScpTask.php
Copy files to and from a remote host using scp.
- author
- Michiel Rook
- author
- Johan Van den Brande
- package
- phing.tasks.ext
- version
- $Id: ScpTask.php 1070 2011-03-25 14:35:06Z mrook $
\ScpTask
Copy files to and from a remote host using scp.
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- author
- Michiel Rook
- author
- Johan Van den Brande
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.ext
- version
- $Id: ScpTask.php 1070 2011-03-25 14:35:06Z mrook $
Properties
Methods

createFileSet(
)
:
\FileSetNested creator, creates a FileSet for this task
| Type | Description |
|---|---|
| \FileSet |

getPrivkeyfilepassphrase(
$privkeyfilepassphrase
)
:
Returns the private keyfile passphrase
| Name | Type | Description |
|---|---|---|
| $privkeyfilepassphrase |

setAutocreate(
$autocreate
)
:
Sets whether to autocreate remote directories
| Name | Type | Description |
|---|---|---|
| $autocreate |

setFetch(
$fetch
)
:
Sets whether to send (default) or fetch files
| Name | Type | Description |
|---|---|---|
| $fetch |

setLevel(
string $level
)
:
Set level of log messages generated (default = verbose)
| Name | Type | Description |
|---|---|---|
| $level | string |

setPassword(
$password
)
:
Sets the password of the user to scp
| Name | Type | Description |
|---|---|---|
| $password |

setPrivkeyfile(
$privkeyfile
)
:
Sets the private key file of the user to scp
| Name | Type | Description |
|---|---|---|
| $privkeyfile |

setPrivkeyfilepassphrase(
$privkeyfilepassphrase
)
:
Sets the private key file passphrase of the user to scp
| Name | Type | Description |
|---|---|---|
| $privkeyfilepassphrase |

setPubkeyfile(
$pubkeyfile
)
:
Sets the public key file of the user to scp
| Name | Type | Description |
|---|---|---|
| $pubkeyfile |