Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread Francois Piette
> >> is there any parsing routine available which works for windows and > >> unix-servers? > > > >Yes, search on http://www.smatters.com/ics > > Hmmm. How come it won't let me BROWSE the site? > http://www.google.com/search?hl=en&lr=&sa=G&q=site:smatters.com Ask Google :-) In the meanwhile, just

Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread W. D.
At 07:30 7/31/2005, Wilfried Mestdagh wrote: >Hello Frank, > >> is there any parsing routine available which works for windows and >> unix-servers? > >Yes, search on http://www.smatters.com/ics Hmmm. How come it won't let me BROWSE the site? http://www.google.com/search?hl=en&lr=&sa=G&q=site:smat

[twsocket] [TMimeDec] Preamble and Epilogue

2005-07-31 Thread Piotr Hellrayzer Dałek
Hi! TMimeDec does NOT ignore MIME preamble and epilogue, so it fails to decode correctly complex multipart message from RFC 2049 Appendix A. Specifically, when it sees ending boundary ("--boundary--") it starts another part. Disabling preamble parsing as text/plain is very simple, just have to ch

[twsocket] [TMimeDec] Boundary detection optimization

2005-07-31 Thread Piotr Hellrayzer Dałek
Hi! There's possible optimization. Since all MIME boundaries start with "--" (=$2D2D), we could check whether FCurrentData points to two dashes instead of copying whole data line, switching to lowercase and then comparing: procedure TMimeDecode.ProcessWaitBoundary; { ##ERIC } var t : In

Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread Wilfried Mestdagh
Hello Frank, > is there any parsing routine available which works for windows and > unix-servers? Yes, search on http://www.smatters.com/ics --- Rgds, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/

Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread Frank Wunderlich
Angus Robertson - Magenta Systems Ltd schrieb: > The only bullet proof way is use CWD and DIR to get a directory > listing, and parse it (many different formats) to get the file size. > These commands are supported by all FTP servers. is there any parsing routine available which works for wind