Skip to content

icms_file_TarDownloader

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_file_TarDownloader

Send tar files through a http socket

Properties

$mimetype

protected mixed $mimetype
  • Visibility: protected

$ext

protected mixed $ext
  • Visibility: protected

$archiver

protected mixed $archiver
  • Visibility: protected

Methods

__construct

mixed icms_file_DownloadHandler::__construct()

Constructor

addFile

mixed icms_file_DownloadHandler::addFile(string filepath, string newfilename)

Arguments

  • filepath string
  • newfilename string

addBinaryFile

mixed icms_file_DownloadHandler::addBinaryFile(string filepath, string newfilename)

addBinaryFile()

Arguments

  • filepath string
  • newfilename string

addFileData

mixed icms_file_DownloadHandler::addFileData(mixed data, string filename, int time)

addFileData()

Arguments

  • data mixed
  • filename string
  • time int

addBinaryFileData

mixed icms_file_DownloadHandler::addBinaryFileData(mixed data, string filename, int time)

addBinaryFileData()

Arguments

  • data mixed
  • filename string
  • time int

download

mixed icms_file_DownloadHandler::download(string name, bool gzip)

download()

Arguments

  • name string
  • gzip bool

_header

mixed icms_file_DownloadHandler::_header(string filename)

Send the HTTP header

Arguments

  • filename string
Clone this wiki locally