Home arrow static arrow Java Programming [Archive] - proxy settings for FTP
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - proxy settings for FTP
This topic has 3 replies on 1 page.

Posts:45
Registered: 7/13/04
proxy settings for FTP  
Jul 25, 2004 10:30 PM



 
i am using Jscape's ftpclient.

i want to connect thru proxy so i gave as,
System.setProperty("ftp.proxyHost","192.168.1.1"); // proxy server is 192.168.1.1
System.setProperty("ftp.proxyPort","80");

but not working .
why so??

Plz help me out
Thank u
priya
 

Posts:2,830
Registered: 9/1/03
Re: proxy settings for FTP  
Jul 25, 2004 10:45 PM (reply 1 of 3)



 
ftp port is 21
 

Posts:45
Registered: 7/13/04
Re: proxy settings for FTP  
Jul 26, 2004 12:11 AM (reply 2 of 3)



 

FTP port is 21.but request to proxy should be sent as HTTP( It is given in articles i read).
i gave 21 too but it is not working.
 

Posts:31,095
Registered: 4/30/99
Re: proxy settings for FTP  
Jul 26, 2004 8:38 AM (reply 3 of 3)



 
Maybe it is not working because your proxy server does not handle the FTP protocol. I assume there is a person who is responsible for your proxy server. What does that person say about your problem?
 
This topic has 3 replies on 1 page.