On Tue, Aug 25, 2009 at 11:44 PM, Ian Clarke<ian at locut.us> wrote: > On Tue, Aug 25, 2009 at 8:51 AM, Matthew > Toseland<toad at amphibian.dyndns.org> wrote: >>> It's not a joke but I admit I misunderstood the specification. I was >>> wondering how to detect the end of a AllData reply and I thought there >>> would be something such as "EndMessage". >> >> No, it ends with the word "Data" on a line by itself and is followed by the >> data. > > To clarify, the plaintext part of the message ends with "Data" on a > line by itself. > > It is followed by the raw data. ?It is not necessary to specify when > the raw data ends since its length is provided in the plaintext part > of the message.
The current implementation would be confused if you do this: ClientPut<CR> blbarlbalr=...<CR> blbarlbalr=...<CR> DataLength=1<CR> Data<CR> <LF> This should insert a single byte file with <LF>, but it would get confused. > Ian.
