Hi
I rewrite an old C Programm to C# (Framework 1.1) - it is an easy FTP-
Client.
I create a "Command-Channel" using TcpClient, a "Command-Reader" and a
"Command-Writer"
to speak with the FTP Server
coChannel = new TcpClient(this. HostName, this.Port);
coReader = new StreamReader(co Channel.GetStre am());
coWriter = new StreamWriter(co Channel.GetStre am());
---
To send data I use a Socket. First I send the "PASV" Command to the
server
using the response (IP-adress, Port) to create a socket.
socket = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am,ProtocolType .Tcp);
socket.Connect( new IPEndPoint(IPAd dress.Parse(sIP Address),nPort) );
then sending data
Socket.Send(buf fer, read, 0);
--
Everything works fine the last 10 years with the C Pgm. And the C# Pgm
works also fine.
Now we have a problem to connect one special FTP Server.
The Operator of this Server use a Proxy "before" his FTP-Server and
believe that my program is not "proxy-able".
But I dont know what he mean.
How can I use the TcpClient() "with a Proxy" to connect to a Server.
Thanks
Peter