����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.141.42.23 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/public_html/vendor/league/flysystem/src/Adapter/ |
Upload File : |
<?php namespace League\Flysystem\Adapter; class Ftpd extends Ftp { /** * @inheritdoc */ public function getMetadata($path) { if ($path === '') { return ['type' => 'dir', 'path' => '']; } if (@ftp_chdir($this->getConnection(), $path) === true) { $this->setConnectionRoot(); return ['type' => 'dir', 'path' => $path]; } $object = ftp_raw($this->getConnection(), 'STAT ' . $this->escapePath($path)); if ( ! $object || count($object) < 3) { return false; } if (substr($object[1], 0, 5) === "ftpd:") { return false; } return $this->normalizeObject($object[1], ''); } /** * @inheritdoc */ protected function listDirectoryContents($directory, $recursive = true) { $listing = ftp_rawlist($this->getConnection(), $this->escapePath($directory), $recursive); if ($listing === false || ( ! empty($listing) && substr($listing[0], 0, 5) === "ftpd:")) { return []; } return $this->normalizeListing($listing, $directory); } }