You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And here is the native code which works as expected:
$connection = ftp_connect($host);
ftp_login($connection, $user, $pass);
var_dump(ftp_rawlist($connection, $dir));
// var_dump(ftp_rawlist($connection, '-alR ' . $dir)); // This is how Gaufrette does it
ftp_close($connection);
I believe this arguments must be configurable to resolve mentioned issue - they should be enabled by default to ensure backward compatibility but with an option to disable them.
The text was updated successfully, but these errors were encountered:
In these 3x places, specific arguments like
-al
or-alR
are being used whenftp_rawlist
is being called.I believe, depending on the FTP server settings, they cause trouble -> directories/files can not be listed and
ftp_rawlist
simply returns empty list.Here is the code that does not list the files on the server (Hermes Germany carrier FTP - used by a lot of vendors of course) we use:
And here is the native code which works as expected:
I believe this arguments must be configurable to resolve mentioned issue - they should be enabled by default to ensure backward compatibility but with an option to disable them.
The text was updated successfully, but these errors were encountered: