Documentation

FileProviderFactory extends AbstractFileProviderFactory
in package

Table of Contents

Methods

__construct()  : mixed
create()  : FileProvider
Prepares the Asela FileProvider and returns it.
makeDownloadTemplate()  : ezcTemplate

Methods

create()

Prepares the Asela FileProvider and returns it.

public create() : FileProvider

Instantiates an SFTP Object and makes the connection to the server. Then instantiates the Asela\FtpUploader and returns it.

Tags
throws
Exception

if keyfile not found or login not succeeded

todo

use proper Exception classes

Return values
FileProvider

FtpUploader

makeDownloadTemplate()

public makeDownloadTemplate(string $filename) : ezcTemplate
Parameters
$filename : string
Return values
ezcTemplate

        
On this page

Search results