Re: [twsocket] ftp to Table

2005-10-04 Thread Guillaume MAISON
> Thanks > > ms.Seek(0,0); > >>DisplayMemo.Lines.Add(ms.DataString); > > > Works great. It looks like ms.Seek is quit important sometimes. In case of > using TMemoryStream its needed, TStringStream not all the time. this is a bit off-Topic, but when dealing with streams, when a third party com

Re: [twsocket] ftp to Table

2005-10-04 Thread Werner
x27;) it's the same, seems like the var 'data' has no meaning here. Thanks for your help Werner - Oorspronkelijk bericht - Van: "Guillaume MAISON" <[EMAIL PROTECTED]> Aan: "ICS support mailing" Verzonden: dinsdag, oktober 04, 2005 11:57 Onderwer

Re: [twsocket] ftp to Table

2005-10-04 Thread Guillaume MAISON
> > I have a small file located on a FTP > I want to read this file, line per line, and save this data direct to a > local table. > So I don't need to save this file first to disk, and read it again. > > I took a look at the localSteam property, and tried this example. > The ms.Size give a number

Re: [twsocket] ftp to Table

2005-10-04 Thread Werner
> > I like to use ics ftp to transfer the contents direct to a table and not save it first to disk > > Could this be possible? > > Now I'm saving to contents to a file on disk, then read the file and save the contents to the > table, wich is time comsuming. > > > > Now: > > > > 1.open the ftp >

Re: [twsocket] ftp to Table

2005-10-04 Thread Francois Piette
> I like to use ics ftp to transfer the contents direct to a table and not save > it first to disk > Could this be possible? > Now I'm saving to contents to a file on disk, then read the file and save the > contents to the table, wich is time comsuming. > > Now: > > 1.open the ftp > 2. read one o

Re: [twsocket] ftp to Table

2005-10-04 Thread Arno Garrels
Take a look at FtpCli's property LocalStream. Don't forget that a transfer may fail. Arno Garrels Werner wrote: > Hi > > I like to use ics ftp to transfer the contents direct to a table and not > save it first to disk Could this be possible? > Now I'm saving to contents to a file on disk, then r

[twsocket] ftp to Table

2005-10-04 Thread Werner
Hi I like to use ics ftp to transfer the contents direct to a table and not save it first to disk Could this be possible? Now I'm saving to contents to a file on disk, then read the file and save the contents to the table, wich is time comsuming. Now: 1.open the ftp 2. read one or more files f