Closed Bug 1192691 Opened 10 years ago Closed 10 years ago

FTP mozilla. Urls with more than two subfolders in the query do not work

Categories

(mozilla.org :: FTP: Mirrors, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: david.tapiador, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36 Steps to reproduce: Open ftp://ftp.mozilla.org/pub/mozilla.org Actual results: An alert containing `550 Permission denied.` shows up Expected results: The list of the entries in mozilla ftp, /pub/mozilla.org/ subfolder
Same happens using wget: $ wget ftp://ftp.mozilla.org/pub/mozilla.org/ --2015-08-10 12:32:48-- ftp://ftp.mozilla.org/pub/mozilla.org/ => '.listing' Resolving ftp.mozilla.org... 63.245.215.56, 63.245.215.46 Connecting to ftp.mozilla.org|63.245.215.56|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/mozilla.org ... No such directory 'pub/mozilla.org'. Curl seems fine though. $ curl ftp://ftp.mozilla.org/pub/mozilla.org/ | head -1 drwxrwxr-x 3 ftp ftp 4096 Jun 05 2002 OJI Seems like the difference is that Curl sends a `CWD` command for every single subfolder in the url. But wget, and any other browser are trying to use the `CWD` command using the complete relative url (`pub/mozilla.org`), and that is when the 550 status is returned.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Thanks for the info
Component: Other → FTP: Mirrors
Product: Websites → mozilla.org
Version: Production → other
You need to log in before you can comment on or make changes to this bug.