[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

FTP Through a proxy/firewall

are there any good java classes for the ftp-protocol ? if not, how do i get through a proxy with my custom ftp-client ? should i connect to the proxy first as with http and then redirect the request....


regards marss
0
marss
Asked:
marss
  • 2
1 Solution
 
mbormannCommented:
look
http://java.sun.com/people/linden/faq_d.html

search
(Sect. 15) How do I get a URLConnection to work through proxy firewalls? I.e. How do you get your application to do its web accesses through a proxy?
0
 
vladi21Commented:
also look:
Netscape FAQ
3.1: How do I use URLConnection through a proxy?
You may be getting the error:  #Security Exception: socket.connect:my.host.net->my.host.net. when using a proxy through a firewall, especially when specifying the CODEBASE property of the APPLET tag.  Try using the IP address as the CODEBASE specification instead of your domain name. 4.0 will handle proxies transparently.  [4.0]

Java Tip 42: Write Java apps that work with proxy-based firewalls
http://www.javaworld.com/javaworld/javatips/jw-javatip42.html

Firewall Access in Java Applets
http://www.idssoftware.com/fwapplet.html


ftp:
http://www.afu.com/t.java
http://www.quateams.com/oro/developers/docs/NetComponents/api/Package-com.oroinc.net.ftp.html
http://www.alphaworks.ibm.com/ab.nsf/bean/WebAccessor


0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now