Re: [twsocket] Ftp client send command

2005-07-13 Thread bimbospank
Thanks a lot.
I will send to you a postcard for your child.
Thanks.
Spank- Italy

>-- Messaggio originale --
>From: "Francois Piette" <[EMAIL PROTECTED]>
>To: "ICS support mailing" 
>Date: Wed, 13 Jul 2005 13:34:48 +0200
>Subject: Re: [twsocket] Ftp client send command
>Reply-To: ICS support mailing 
>
>
>> ok i have no standard ftp server  with command TEST but i don know how
>do
>> send command with ftpclient to server.
>> FTPCLient. <--- ? i want to send "TEST" to server.
>> this is my problem...
>
>FtpClient1.LocalFileName := 'TEST';
>FtpClient1.Quote;
>
>
>--
>Contribute to the SSL Effort. Visit
>http://www.overbyte.be/eng/ssl.html
>--
>[EMAIL PROTECTED]
>Author of ICS (Internet Component Suite, freeware)
>Author of MidWare (Multi-tier framework, freeware)
>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



--
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] Ftp client send command

2005-07-13 Thread Francois Piette
> ok i have no standard ftp server  with command TEST but i don know how do
> send command with ftpclient to server.
> FTPCLient. <--- ? i want to send "TEST" to server.
> this is my problem...

FtpClient1.LocalFileName := 'TEST';
FtpClient1.Quote;


--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
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] Ftp client send command

2005-07-13 Thread bimbospank
hi Angus,
ok i have no standard ftp server  with command TEST but i don know how do
send command with ftpclient to server.
FTPCLient. <--- ? i want to send "TEST" to server.
this is my problem...
Thanks.


>-- Messaggio originale --
>Date: Wed, 13 Jul 2005 10:11 +0100 (BST)
>From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]>
>To: twsocket@elists.org
>Subject: Re: [twsocket] Ftp client send command
>Reply-To: ICS support mailing 
>
>
>> I want to send command to this server for examples
>> FtpClient.SendCommand('TEST') end the ftp server response 250 OK
>
>You can send any command you like to an FTP server, but unless it
>understands TEST, it will not reply with 250.
>
>Adding such a command to the ICS FTP server is easy.
>
>Angus
>
>--
>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



--
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] Ftp client send command

2005-07-13 Thread Francois Piette
> I'm new of this mailling list.

You're welcome.

> I have a problema.
> I have no standard ftp server and i use the ftpclient.
> I want to send command to this server for examples
> FtpClient.SendCommand('TEST') end the ftp server response 250 OK

Use the FTP client component "Quote" method to send your non standard command. 
Use LastResponse to
get the reply from server.

> I have e thousand no standard command. it's possible ?

No problem, all can be send with the Quote method which simply use a string. 
See FtpTst sample
program to excercize the method.
--
[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] Ftp client send command

2005-07-13 Thread Angus Robertson - Magenta Systems Ltd
> I want to send command to this server for examples 
> FtpClient.SendCommand('TEST') end the ftp server response 250 OK

You can send any command you like to an FTP server, but unless it 
understands TEST, it will not reply with 250.  

Adding such a command to the ICS FTP server is easy. 

Angus

-- 
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