[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luasocket FTP problem
- From: Tim Channon <tc@...>
- Date: Fri, 07 Nov 2008 17:17:42 +0000
ketmar wrote:
> On Fri, 7 Nov 2008 08:19:38 -0800
> "Eric Tetz" <erictetz@gmail.com> wrote:
>
>> Given that the spec doesn't care, yet some FTP servers do, wouldn't it
>> make sense to make them upper case in LuaSocket? Being right is nice;
>> being right AND working with the largest number of FTP servers is even
>> better.
> it will not break anything, but i just want to emphasise that there's
> no bug in LuaSocket, it's a server-side bug. there are some more fun
> bugs for some broken servers (like servers which doesn't like to
> receive commands letter by letter instead of by the whole line -- i.e.
> with pauses between send()s). i really don't like the idea of 'fixing'
> such bugs in the wrong place (client-side insted of server-side). i've
> stepped on such things when writing my CLI downloader. %-(
>
> maybe if users will complain to server authors we all will have
> standards-compliant servers? i know that this is just a dream, but...
> %-)
I was wrong so it is good you picked it up immediately. I learnt
something. Assumptions, the root of most cockups.
I totally agree (my pet hate is non W3C markup compliance) and yes a
pragmatic view seems to be most people's reaction. I checked several
different servers before posting, all rejected lower case.