In our office, the proxy server is a unix machine and the proxy server running is simply the 'ftpd' running on port 21. On the same machine there is http proxy running on port 80. Now i have a problem. Using this as a proxy server for ftp, I can only connect to the ftp servers which are running on port 21. I tried to connect through IE by giving the url as
where the port of the site was 2000 (not the standard 21) and IE says "conection closed. Data transfer aborted."
Through client WS_ftp also after configuring the firewall, giving the firewall ip, port (21), user and password etc and then giving the details (ip, port, user,passwd) of remote server to which i have to connect, i can only connect to servers that are running on port 21. If i give any server and its remote port, ws_ftp converts that port to my firewall port( '21' ) after failure. i.e 2000 was changed to 21 and thats why it failed. i thought its a bug in ws_ftp so i tried core thing.
I then tried login to ftp server using
and then user id and password. Now i am on the proxy server and want to connect to remote ftp server. Now the problem is if i use 'open' command, it says already connected (its connected to proxy server), disconnect first.
i can use two commands to connect to remote server
'quote site '
but none of these command is accepting the port after the ip and they assume port as '21' and then result into connection refused cos the actual port is 2000.
Could anyone help me to overcome this problem.