Closed Bug 239159 Opened 22 years ago Closed 12 years ago

FTP: directories are loaded as binary

Categories

(Core Graveyard :: Networking: FTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ezh, Unassigned)

References

()

Details

Attachments

(1 file)

1. open ftp://BetaPersonal:wokTrdFz3qN5rn8c@partner.kaspersky.ru/50xx in Mozilla or Firefox. 2. Save dialog appers instead of ftp directory moz 2004032609 (it actually does not work for a long period of time for this server)
Can you create a FTP log for this? See http://www.mozilla.org/projects/netlib/http/http-debugging.html how to do this (how to enable FTP logging stands at the buttom of the page).
Although I doubt it will be useful, here my ftp.log: 0[243e18]: (261b370) nsFtpState created 0[243e18]: (25668a8) nsFtpControlConnection created 0[243e18]: (261b370) nsFtpState stopping 0[243e18]: (261b370) nsFtpState caching control connection 0[243e18]: (25668a8) nsFtpControlConnection disconnecting (0) 0[243e18]: (261b370) nsFtpState destroyed
for some reason, a binary connection is opened by/to mozilla to transfer the directory listing (as tcpflow shows). other browsers (msie 6, nn4.7) or ftp-clients (smartftp) are doing fine -- they are receiving the listing in ascii-mode.
Assignee: general → dougt
Component: Browser-General → Networking: FTP
QA Contact: general → benc
What format is the file in? The file has no extension, and mozilla thinks it is not obviously any particular type, so it is treated as binary.
I don't know if your server is behaving properly or not, but I did find the distinction. Your server is returning binary for: client -> RETR / server -> 150 Opening BINARY mode data connection for '/'. I traced some servers that work, and they return a 550 for directories.
Summary: ftp with login and password does not works in mozilla → FTP: directories are loaded as binary
mass reassigning to nobody.
Assignee: dougt → nobody
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: