You are here

public function File::getChunkPath in One Click Upload 7.2

Return chunk path

Parameters

int $index:

Return value

string

5 calls to File::getChunkPath()
File::checkChunk in flowphp/src/Flow/File.php
Check if chunk exist
File::deleteChunks in flowphp/src/Flow/File.php
Delete chunks dir
File::save in flowphp/src/Flow/File.php
Merge all chunks to single file
File::saveChunk in flowphp/src/Flow/File.php
Save chunk
File::validateFile in flowphp/src/Flow/File.php
Check if file upload is complete

File

flowphp/src/Flow/File.php, line 59

Class

File

Namespace

Flow

Code

public function getChunkPath($index) {
  return $this->config
    ->getTempDir() . DIRECTORY_SEPARATOR . basename($this->identifier) . '_' . (int) $index;
}