Configuring the Uploader
Adding Files
- public function addFile($file, $key) — Add a file to the list of files to be uploaded.
Uploading Files
- public function uploadFiles() — Upload files to the server.
Internals
- private function uploadChunks($file, $file_phid) — Upload missing chunks of a large file by calling `file.uploadchunk` over Conduit.
- private function uploadData($file) — Upload an entire file by calling `file.upload` over Conduit.
- private function writeStatus($message) — Write a status message.
Other Methods
- public function setConduitEngine($engine)
- private function getUploadParameters($file) — Get common parameters for file uploads.