Drive Manifold

RedbookDataArchive extends DataArchive
in package

Table of Contents

$archiveNamePattern  : string
$ftpOperations  : FtpOperations
$localArchiveFileName  : string
$localArchivePath  : string
$s3Path  : string
__construct()  : mixed
process()  : bool
archivePath()  : string|null
download()  : string
listFiles()  : Collection
unzip()  : void
upload()  : void

Properties

$archiveNamePattern

protected string $archiveNamePattern = '/^TheMotorReport_(\\d{6})_v2\\.zip$/'

$localArchiveFileName

protected string $localArchiveFileName = 'redbook-data.zip'

Methods

process()

public process() : bool
Tags
throws
FileNotFoundException
throws
FilesystemException
throws
Exception
Return values
bool

archivePath()

protected archivePath() : string|null
Tags
throws
FilesystemException
Return values
string|null

download()

protected download() : string
Tags
throws
FileNotFoundException
throws
FilesystemException
Return values
string

listFiles()

protected listFiles() : Collection
Return values
Collection

unzip()

protected unzip() : void
Tags
throws
Exception
Return values
void

upload()

protected upload(string $archivePath) : void
Parameters
$archivePath : string
Tags
throws
Exception
Return values
void

Search results