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(coChannel.GetStream());
coWriter = new StreamWriter(coChannel.GetStream());
---
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(AddressFamily.InterNetwork,
SocketType.Stream,ProtocolType.Tcp);
socket.Connect(new IPEndPoint(IPAddress.Parse(sIPAddress),nPort));
then sending data
Socket.Send(buffer, 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