Closed Bug 304691 Opened 19 years ago Closed 15 years ago

Firefox assumes the WMV file is a directory, and refuses to download it

Categories

(Firefox :: File Handling, defect)

1.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: sillygates, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Note: in the link above the username is ftp and the ftp password is 1. Though
the same result came up with other user names.

When this address is placed in the adress field, or a link is clicked from an
outside location firefox tries to access this file as if it were a directory,
and when it fails it displays a message stating the that document contains no data.


PLEASE NOTE: when I logged into the server through 127.0.0.1 it did not have
this problem.
 Also, Internet Explorer at the remote site can correctly downlad this file(not
insisting that it is actually a directory).

LOOK AT THE FTP LOG UNDER ADDITIONAL INFORMATION!!!!!

Reproducible: Always

Steps to Reproduce:
1. Host a file named .wmv on an ftp server inthe root directory
2. make a link to the file, containing the username and password
3. attempt to download that file by putting the link in the address bar

Actual Results:  
I was informed by firefox that the document contains no data

Expected Results:  
attempted to downloaded the file

----------------------------------
The FTP server is Bullet Proof FTP Server 2.4.0.31(current), here is a copy of
the log
----------------------------------
(000002) 8/15/2005 2:38:49 AM - FTP (xxx.xxx.xxx.xxx) > 257 "/" is current
directory.
(000002) 8/15/2005 2:38:49 AM - FTP ([ip]) > TYPE I
(000002) 8/15/2005 2:38:49 AM - FTP ([ip]) > 200 Type set to I.
(000002) 8/15/2005 2:38:49 AM - FTP ([ip]) > CWD /BennyBenassi.wmv
(000002) 8/15/2005 2:38:49 AM - FTP ([ip]) > asked to change directory :
'C:\ftp\ -> C:\ftp\BennyBenassi.wmv\' --> Access denied (No Such Directory).
(000002) 8/15/2005 2:38:49 AM - FTP ([ip]) > 550 CWD failed. '/BennyBenassi.wmv'
: no such file or directory.
(000002) 8/15/2005 2:38:49 AM - FTP ([ip]) > disconnected. (00:00:00)

-------------------------------------------
sorry, i forgot to mention that this is an FTP bug in the description, kinda
tired, it is 3:19AM!
(In reply to comment #0)

So what I have to do in order to reproduce your problem?
Can you provide the sample URL?
ALSO, (ANOTHER BUG) forgot to mention last night, after firefox tries to connect
to the server and open the file as a directory it doesnt want to connect again!
it will display "document contains no data" without another connection attempt
if you reenter the URL, and the "refresh" button doesn't correct this!
(In reply to comment #2)
> (In reply to comment #0)
> 
> So what I have to do in order to reproduce your problem?
> Can you provide the sample URL?
--------------------
PLEASE NOTE: despite past posts the original username was "dls" and the original
filename was "BennyBenassi_Satisfaction_300K.wmv" all the others came from me
making new ftp accounts in an attempt to get the comtpuers to reconnect.
--------------------
Well, I use FTP to transfer files from my home PC, which isnt reliably on all
the time, but I will give you better directions on reproducing the problem.

(note I dont remember whiether i started with or without list permission, im
guessing I didn't have it on)

1. run bullet Proof FTP 2.4.0.31 (trial available at bpftpserver.com)
2. create the user account "dls" with a password of "1"
3. put a file named "BennyBenassi_Satisfaction_300K.wmv" file in a directory,
without any other files in it
4. share that folder on the ftp server (with read permission, I dont think I had
list permission)

5. goto a remote location and try to download that file using the link with a
link constructed like this: ftp://dls:1@[host
ip]/BennyBenassi_Satisfaction_300K.wmv.

FireFox will try to open this file as a directory, and when it fails it wont
wont to attempt a connection to the server again (it will keep showing the error
"document contains no data") 

and firefox will refuse to attempt to browse the root ftp directory after you
attempt to download this file (it wont make a connection to attempt to browse)
---------------------------------------
!!!!!UPDATE!!!!!This problem isnt always recreatable I discovered it when I was
sentding a friend a link over trillian to that file, and it failed to download
the wmv file. I later tried it myself and it also failed to download it.
Unfortely I ran a third trial this morning with another friend and I coulnt
recreate the event, though my computers, and a few other remote ones all still
have the problem!!!!!UPDATE!!!!!
----------------------------------------
Please try using Firefox 3.5.2 or later in a new profile and report back if this still happens.
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Looks like the last UNCO firefox 1.x bug :D
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.