Drive Manifold

FtpOperations
in package

Table of Contents

$ftpDriver  : FilesystemAdapter
__construct()  : mixed
download()  : bool
list()  : array<string|int, mixed>
sortByLastModified()  : DirectoryListing

Properties

Methods

__construct()

public __construct(FilesystemAdapter $ftpDisk) : mixed
Parameters
$ftpDisk : FilesystemAdapter
Return values
mixed

download()

public download(string $source, string $destination[, FilesystemAdapter|null $desintationDriver = null ]) : bool
Parameters
$source : string
$destination : string
$desintationDriver : FilesystemAdapter|null = null
Tags
throws
FileNotFoundException
Return values
bool

list()

public list([string $dir = '/' ][, bool $sortAsc = false ]) : array<string|int, mixed>
Parameters
$dir : string = '/'
$sortAsc : bool = false
Tags
throws
FilesystemException
Return values
array<string|int, mixed>

sortByLastModified()

public sortByLastModified(DirectoryListing $directoryListing[, bool $sortAsc = false ]) : DirectoryListing
Parameters
$directoryListing : DirectoryListing
$sortAsc : bool = false
Return values
DirectoryListing

Search results