Re: publicfile/ftpd and chrome

Glenn Willen <[email protected]> Mon, 25 Jul 2011 16:15:24 -0700
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
To follow up my own previous message, this behavior was changed in Mozilla in
2001 after a bugreport from DJB:

https://bugzilla.mozilla.org/show_bug.cgi?format=multiple&id=61290

He notes that there are cases in which he claims Chrome's behavior (Mozilla's
former behavior) will cause problems with servers besides publicfile, as well.
So this is probably worth asking Chrome to change.

gwillen

On Mon, Jul 25, 2011 at 03:35:46PM -0300, Otavio Exel wrote:
> Glenn Willen wrote:
> > Otavio,
> > 
> > That's very odd. Are you quite sure you asked chrome for
> > "ftp://site/oexel/nc.exe", and not "ftp://site/nc.exe"?
> 
> Glenn,
> 
> please accept my apologies!
> you're right, I had asked for "site/nc.exe"
> here is the correct output:
> 
> 26062 < USER anonymous 
> 26062 > 230 Hi. No need to log in; I'm an anonymous ftp server. 
> 26062 < SYST 
> 26062 > 215 UNIX Type: L8 
> 26062 < PWD 
> 26062 > 257 "/"  
> 26062 < TYPE I 
> 26062 > 200 Okay, using binary. 
> 26062 < EPSV 
> 26062 > 502 Sorry, I don't understand that command. 
> 26062 < PASV 
> 26062 > 227 Entering Passive Mode (201,90,227,216,176,163) 
> 26062 < SIZE /oexel/nc.exe 
> 192.168.1.233 dir ./oexel/nc.exe: success
> 26062 > 213 59392 
> 26062 < CWD /oexel/nc.exe 
> 26062 > 250 "/oexel/nc.exe"  
> 26062 < LIST 
> 192.168.1.233 dir ./oexel/nc.exe/: open failed: not a directory
> 26062 > 550 Sorry, I can't open that file: not a directory. 
> 26062 < QUIT 
> 26062 > 221 Bye. 
> 26062 > [EOF]
> 
> now I can see that the problem is that ftpd answered
> "CWD /oexel/nc.exe" with OK.
> 
> is that odd behavior of ftpd concerning CWD needed?
> I vaguely remember I argued with djb over this behavior
> when publicfile was released...
> 
> []s,
> 
> -- 
> Otavio Exel /<\oo/>\ [email protected]
> 
> 
> !DSPAM:4e2db8ed97327057312974!
>