If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Weird SIZE command send

VERIFIED INVALID

Status

()

Core
Networking: FTP
VERIFIED INVALID
17 years ago
17 years ago

People

(Reporter: Henrik Gemal, Assigned: dougt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
Mozilla seems to be sending some command my ftp server doesn't understand.

0[3460a0]: (1af7c38) S_SIZE - 
0[3460a0]: (1af7c38) Writing "SIZE /home/hege
"
0[3460a0]: (1af7c38) SUCCEEDED
0[3460a0]: (1af7c38) Waiting for control data (0)...
0[3460a0]: (1af7c38) reading 48 bytes: "500 'SIZE /home/hege': command not 
understood.

build 20010420
(Assignee)

Comment 1

17 years ago
it is an undocumented/non-standard command.  some servers support it, some dont. 

I am not sure how to resolve this bug...  it really isn't a bug per se.  I guess 
the problem really is that we don't have a good clue about what system support 
his command, so we issue it to everyone.  I have bug 61290 which will address 
ordering and the set of commands that ftp issues.  
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID
(Reporter)

Comment 2

17 years ago
Why do we issue a SIZE command on a directory?
(Assignee)

Comment 3

17 years ago
we don't.  the state machine needs to be optimized.  The bug I sited above will 
address this.  You can reopen and mark as this bug blocked if you want.
(Reporter)

Comment 4

17 years ago
Doug: We still seem to send the SIZE command on directories. Is this a know bug 
or should I reopen this one?

From my log in build 20010629:
0[344088]: (289b4d0) Writing "SIZE /
"
0[344088]: (289b4d0) Waiting for control data (0)...
0[344088]: (289b4d0) Data Connection established.
0[344088]: (289b4d0) Writing ""
0[344088]: (2761760) DataRequestForwarder OnStartRequest 
0[344088]: (289b4d0) reading 28 bytes: "550 /: not a regular file.
(Assignee)

Comment 5

17 years ago
we don't know if it is a directory before sending the size command... :-/
(Reporter)

Comment 6

17 years ago
ok. it was just because you said: "we don't.  the state machine needs to be 
optimized."
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.