[twsocket] Help Files ?

2005-11-18 Thread Allan Fernandes
Hi , I had previously asked: > My program needs to copy large files (1GB etc.) across a LAN. Your advice was: > The simplest solution is to use ICS FTP... I have succesfully managed a test version with your FTP component by refering to your examples. Thank You. I have been hunting for the He

Re: [twsocket] HTTP client relocation

2005-11-18 Thread Nicholas Sherlock
Angus Robertson - Magenta Systems Ltd wrote: >But there is another problem in relocation when the relocation is to the same >URL, and the component gets stuck in a loop. > This is an easy fix, just set a relocation limit, like Internet Explorer and Firefox do Cheers, Nicholas Sherlock -- To

Re: [twsocket] HTTP client relocation

2005-11-18 Thread Maurizio Lotauro
On 17-Nov-05 20:00:16 Francois PIETTE wrote: >The question is: Should the HTTP client component implement this relative >path removal algorithm ? If it is formally valid yes. But it could be tricky to do because sometimes the relative path could be a little "strange" :-) And the problem that Ang

Re: [twsocket] TFtpClient and directory listing

2005-11-18 Thread Angus Robertson - Magenta Systems Ltd
> However, does anyone have a small sample of code to retrieve a > directory, and - for example - place the contents into a listbox? You need to parse the directory listing returned, there are two common formats and several more less common. There are some functions at http://www.smatters.com/

[twsocket] TFtpClient and directory listing

2005-11-18 Thread Kochendoerfer, Michael
Hi all, what is the correct implementation of retrieving a directory when using ftp...Async functions? My program structure is similar to the sample files (case RqType of... ftpOpenAsync: FtpClient.User; ... end;), so it wouldn't be hard for me to understand. What I've found is the option to us

Re: [twsocket] TWsocket/TWsocketServer sending/receiving Files

2005-11-18 Thread Francois Piette
> //send the file (client) > while ... > BlockRead(f, FileBuf.buf, SizeOf(FileBuf.buf), FileBuf.bufSize); > FBuf.ID:=1; > WSocket1.Send(@FileBuf, sizeof(FileBuf)); > end; With such code, then the file is almost read in memory before sending anything. You forgot that the component is as