We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I've found a bug when trying to import files with more that one space in the name.
Here is a fix :
public function getDirListingDetailed($directory = '.') { if (is_array($children = @ftp_rawlist($this->connectionId, $directory))) {
$items = array(); foreach ($children as $child) { $chunks = preg_split("/\s+/", substr($child,0,61)); $name = substr($child,62); list( $item['rights'], $item['number'], $item['user'], $item['group'], $item['size'], $item['month'], $item['day'], $item['time'] ) = $chunks; $item['type'] = $chunks[0]{0} === 'd' ? static::TYPE_DIR : static::TYPE_FILE; array_splice($chunks, 0, 8); $items[implode(" ", $chunks).$name] = $item; } return $items; } return false; }
Coould you include this fix?
Thanks!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I've found a bug when trying to import files with more that one space in the name.
Here is a fix :
public function getDirListingDetailed($directory = '.')
{
if (is_array($children = @ftp_rawlist($this->connectionId, $directory))) {
Coould you include this fix?
Thanks!!
The text was updated successfully, but these errors were encountered: