<?php stripos(string $haystack, string $needle, int $offset = 0): int|false
<?php $response = ftp_raw($this->connection, 'HELP'); return $this->isPureFtpdServer = stripos(implode(' ', $response), 'Pure-FTPd') !== false; } public function fileExists(string $path): bool
<?php $path = $this->escapePath($path); } return ftp_rawlist($connection, $options . ' ' . $path, stripos($options, 'R') !== false) ?: []; } public function move(string $source, string $destination, Config $config): void