-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
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
walk does not work on certain server #3
Comments
This issue can be closed because of PR #4 right? |
Not yet. (I forgot to add a test case for "walk", it works only on goodServer) |
Anyone still working on this? If not, I'm about to tackle it. |
I'm on it. |
That would be great @VincenzoLaSpesa. Currently don't have a lot of time, but will spend some time next weeks to improve quality and tests also. |
The walk function works correctly on server with standard behaviour.
for example ftp://bo.mirror.garr.it/
It outputs line formatted like this
But certain servers ( like ftp://ftp.packardbell.com/ ) produces output like this:
Looking at func (ftp *FTP) List(path string) I see that you first try to use MLSD and if it don't work fall back to LIST
There are some other command that produce output more parsable than LIST.
like NLST or EPLF
The text was updated successfully, but these errors were encountered: