New issue
Advanced search Search tips

Issue 706905 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 8
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

FTP command LIST is not working properly

Reported by matb.w...@gmail.com, Mar 30 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Example URL:

Steps to reproduce the problem:
1.
2. 
3. 

What is the expected behavior?

What went wrong?
connecting to ftp://server.xxx is not correctly listing the current directory! Only webrowsers are impacted with this behavior. The command LIST tested on windows with dir command timeouted also.

Did this work before? N/A 

Chrome version: 56.0.2924.87  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Note that NLST -l command works.

Filezilla client does correctly the listing of the current directory. 

I read this file and understood that this can be changed:

 https://src.chromium.org/viewvc/chrome/trunk/src/net/ftp/ftp_network_transaction.cc?r1=167256&r2=167255&pathrev=167256

NLST -l instead of LIST -l
 

Comment 1 by mmenke@chromium.org, Mar 30 2017

Components: -Internals>Network Internals>Network>FTP
Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)
Given that the comment indicates the "-l" was added to avoid NLST format on mod_ftp, that change would probably cause other breakages.  Because of the low priority of improving FTP support, this is not likely to be investigated, unfortunately.

Comment 2 by matb.w...@gmail.com, Mar 31 2017

Oki thanks. I've checked FileZilla and it uses the MLSD command to list the directory. So when you have time working on FTP can you please consider MLSD instead of LIST -l?!
I'm also experiencing the same issue. There is nothing about the "-l" argument in the specification (RFC-959).

https://tools.ietf.org/html/rfc959

The only valid argument in the "LIST" command is a path, so FTP servers might try to find a directory named "-l", and they would return an error because the directory does not exist.

There are two solutions: Follow the RFC-959 for the "LIST" command or add support to "MLSD".
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 8

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)

Sign in to add a comment