Skip to content
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

Microsoft FTP Service #54

Open
dzehv opened this issue Oct 16, 2020 · 0 comments
Open

Microsoft FTP Service #54

dzehv opened this issue Oct 16, 2020 · 0 comments

Comments

@dzehv
Copy link

dzehv commented Oct 16, 2020

Dear author, Is it possible to add support of LIST command output regex matching for Microsoft FTP service ?

failed parsing LIST entry: 10-09-20 09:36PM

aspnet_client

The raw LIST data can be smh like this:

10-09-20  09:36PM       <DIR>          aspnet_client
10-16-20  05:20PM                 6989 Biography.html
10-16-20  05:20PM                 4761 Contact.html
10-09-20  09:36PM       <DIR>          css
10-09-20  09:36PM       <DIR>          geometry
10-09-20  09:36PM       <DIR>          hostmysite.com
10-09-20  09:37PM       <DIR>          image
10-09-20  09:36PM                10309 index.asp
10-16-20  05:21PM                 7236 index.html
10-16-20  05:21PM                15518 Old schedules.html
10-09-20  09:36PM                 4143 page2.html
10-16-20  05:21PM                12736 Programs & Workshops.html
10-09-20  09:36PM                   68 readme.txt
10-16-20  05:21PM                24617 Resume.html
10-16-20  05:21PM                 6238 Schedule.html
10-09-20  09:36PM                 5940 susanwilsonhandweaving.com_1601667712516.php
10-09-20  09:36PM                97485 SWHandweaving-new, with logo.ims
10-09-20  09:36PM                16009 SWHandweaving.ims
10-09-20  09:36PM               102937 SWHandweaving2015.ims
10-16-20  05:21PM               102248 SWHandweaving2018.ims
10-09-20  09:37PM       <DIR>          tmp
10-09-20  09:36PM                  420 web.config

I can show my fast implementation of this, may be it can be integrated

prasad83 added a commit to prasad83/goftp that referenced this issue Mar 25, 2021
Microsoft FTP Service directory listing format is having different from Unix format.
This fix handles the fallback (Unix first MS next) to achieve ReadDir compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant