Lines Matching refs:tmp
658 $tmp = $this->mkTmpDir();
659 if (!$tmp) throw new Exception($this->getLang('error_dircreate'));
666 if (!move_uploaded_file($_FILES[$field]['tmp_name'], "$tmp/upload.archive")) {
669 $installed = $this->installArchive("$tmp/upload.archive", $overwrite, $basename);
980 // create tmp directory for download
981 if (!($tmp = $this->mkTmpDir())) {
986 if (!$file = $this->downloadToFile($url, $tmp . '/', $file)) {
987 io_rmdir($tmp, true);
994 return $tmp . '/' . $file;
1008 // create tmp directory for decompression
1009 if (!($tmp = $this->mkTmpDir())) {
1014 if ($base && !@mkdir($tmp . '/' . $base)) {
1019 $this->decompress($file, "$tmp/" . $base);
1021 // search $tmp/$base for the folder(s) that has been created
1025 if (!$this->findFolders($result, $tmp . '/' . $base, $default)) {
1057 $item['base'] = basename($item['tmp']);
1072 if ($this->dircopy($item['tmp'], $target)) {
1092 if ($tmp) io_rmdir($tmp, true);
1145 $info['tmp'] = $this_dir;
1165 $info['tmp'] = $this_dir;