Re: [twsocket] TMemoryStream [FTP Client]

2005-05-17 Thread Artem Antonov
On Tue, 17 May 2005 15:39:03 +0200
 "Francois Piette" <[EMAIL PROTECTED]> wrote:
Any TStream derived class should work.
If you don't see data, be sure to rewind the stream.
--
[EMAIL PROTECTED]
http://www.overbyte.be
Yes, I managed with it. Now I can get data from TStream object.
Thanks.
Best regards,
Artem Antonov.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TMemoryStream [FTP Client]

2005-05-17 Thread Francois Piette
> >> does FTP Client works with TMemoryStream to store result of DIR 
> >> command in memory instead of in local file?
 
> > Yes, use LocalStream property.
 
> Thanks, it works.
> Does TStringSteram supports by TFtpClient?

Any TStream derived class should work.
If you don't see data, be sure to rewind the stream.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TMemoryStream [FTP Client]

2005-05-17 Thread Artem Antonov
On Tue, 17 May 2005 13:16:05 +0200
 "Francois Piette" <[EMAIL PROTECTED]> wrote:
does FTP Client works with TMemoryStream to store result of DIR 
command in memory instead of in local file?
Yes, use LocalStream property.
--
[EMAIL PROTECTED]
http://www.overbyte.be
Thanks, it works. What about TStringList?
I use the following code:
var
   FTPClient: TFtpClient;
   FTPListStream: TStringStream;
   FTPListStreamString: String;
FTPListStream := TStringStream.Create(FTPListStreamString);
FTPClient.LocalStream := FTPListStream;
but I can't see data in LocalStream. Does TStringSteram supports by 
TFtpClient?

Thanks.
Best regards,
Artem Antonov.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TMemoryStream [FTP Client]

2005-05-17 Thread Francois Piette
> does FTP Client works with TMemoryStream to store result of DIR 
> command in memory instead of in local file?

Yes, use LocalStream property.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be