On Mon, Dec 04, 2006 at 11:34:28AM -0800, TJ Saunders wrote:
> > When transferring a file from the client to the server, this client
> > checks whether the file does already exist:
> >
> > Client: PASV
> > Server: 227 Entering passive mode (address, port)
> > Client: LIST foo.txt
> > Server: 450 foo.txt: No such file or directory
> >
> > Additionally, the data channel is immediately aborted (with RST -
> > connection reset by peer) in this case. The client shows the 450 error
> > message to the user and aborts.
> >
> > The older proftpd 1.2 used to do this:
> >
> > Client: LIST foo.txt
> > Server: 150 Opening ASCII mode data connection for file list
> > Server: 226 Transfer complete.
> >
> > In this case, the data channel is correctly closed (with FIN), as if
> > an empty listing was transmitted.
> >
> > I'd like to know whether this behavior is intentional, or whether
> > proftpd 1.3 can be made to behave like 1.2 did, or whether the client
> > is at fault.

>
> It's a proftpd bug:
>
> http://bugs.proftpd.org/show_bug.cgi?id=2863


Unfortunately, the patch in bugzilla 2863 does not solve the issue.
It's the 450 answer that confuses the client, which it takes as a
problem with obtaining the directory listing and thus refuses to
continue. proftpd 1.2 used to deliver an empty listing with a 226
return code, which is what the client expects.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html