Closed Bug 77033 Opened 23 years ago Closed 23 years ago

Weird SIZE command send

Categories

(Core Graveyard :: Networking: FTP, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: bugzilla, Assigned: dougt)

Details

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
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
Closed: 23 years ago
Resolution: --- → INVALID
Why do we issue a SIZE command on a directory?
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.
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.
we don't know if it is a directory before sending the size command... :-/
ok. it was just because you said: "we don't.  the state machine needs to be 
optimized."
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.