Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Angus Robertson - Magenta Systems Ltd
> BTW: I think the OverbyteIcsFtpTst demo doesn't set > the UTF-8 code page correctly. Some weeks ago I read > in an FTP-RFC (cannot recall the number) that if the > UTF-8 Feat is returned by the server and an OPTS > UTF8 ON command failed it has to be assumed that UTF-8 > is already active on t

Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Angus Robertson - Magenta Systems Ltd
> When I get the FEAT response, where do I look for the results? The results are parsed by the component into numerous ftpFeatxxx types so applications know whether specific features are supported. You need to log LastResponse to see them all as literals, but I'm sure your program does that for

Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Arno Garrels
Graham Powell wrote: > When I get the FEAT response, where do I look for the results? > Although I think this is irrelevant since I have found the spec for > the server and the only FEAT supported is UTF8. if ftpFeatUtf8 in SupportedExtensions then .. if ftpFeatMDTM in SupportedExtensions then ..

Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Graham Powell
When I get the FEAT response, where do I look for the results? Although I think this is irrelevant since I have found the spec for the server and the only FEAT supported is UTF8. Regards graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On

Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Angus Robertson - Magenta Systems Ltd
> I thought strings were dynamic. The string was always cleared > before each FTP command. Strings are dynamic, but TWSocket returns buffers not strings, and you normally use MOVE to fill a string, which means increasing the size manually. > I shall investigate your MLST idea. Can you post th

Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Graham Powell
I have got the MemoryStream idea working although I had to declare the stream as a TMemoryStream otherwise DirStream.Clear will not compile. I thought strings were dynamic. The string was always cleared before each FTP command. I shall investigate your MLST idea. At least I don't have to keep mo

Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-08 Thread Graham Powell
Hello, Yes I am aware of the grief that can be caused by just assigning an AnsiString to a String and this has been tested thoroughly. FYI: The data from the server is encoded in UTF-8. I don't think the problem here is one of corrupted data, but I get the impression that certain types of network