FTP command LIST is not working properly
Reported by
matb.w...@gmail.com,
Mar 30 2017
|
|||
Issue descriptionUserAgent: 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
,
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?!
,
Oct 7 2017
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".
,
Oct 8
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
,
Oct 8
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mmenke@chromium.org
, Mar 30 2017Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)