Without knowing what you are transferring or if you are transferring in Passive 
or Active or if there are Proxies setup you can use Sun's FTPClient
sun.net.ftp.FtpClient 
Knowing these limitations

  a.. the FtpClient class is unsupported by Sun (even though it works, they 
could modify or remove it at will in later versions) 
  b.. it doesn't support an automatic way to parse directory listings, which 
makes it quite difficult to list the files and subdirectories on a server 

Here is an example
http://www.nsftools.com/tips/JavaFtp.htm

Viel Gluck,
Martin


  ----- Original Message ----- 
  From: Susan Hoddinott 
  To: Tomcat Users List 
  Sent: Friday, December 10, 2004 12:36 AM
  Subject: Hiding an ftp URL


  Hello,

  I am wondering what the best way to avoid display of an ftp URL is when 
redirecting to an ftp location.  The ftp address includes a host name and 
string.  Should it be mapped in web.xml like a servlet, set up as a context 
parameter?  What would be the best and most secure way?

  Regards,
  Susan Hoddinott
  http://www.hexworx.com



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to