Might be helpful to take a look at the difference between protocols FTP and
HTTP
http://www.webopedia.com/DidYouKnow/Internet/2002/FTP_HTTP.asp
The answer is no You don't need to visually display an ftp address in your
address bar to initiate an FTP session
if you follow the instructions from my previous email you will see how a FTP
transfer can happen almost in background
(more akin to spawned daemon)
HTH,
Martin Gainty
----- Original Message ----- 
From: "Susan Hoddinott" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 3:34 AM
Subject: Re: Hiding an ftp URL


> Hi,
>
> I was attempting to use an http ftp command as in the former case.  I
> thought there might be some way of mapping it to some sort of a synonym
like
> used for servlets in the web.xml file?
>
> Regards,
> Susan Hoddinott
> http://www.hexworx.com
>
> ----- Original Message ----- 
> From: "Peter Crowther" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, December 10, 2004 5:28 PM
> Subject: RE: Hiding an ftp URL
>
>
> > > From: Susan Hoddinott [mailto:[EMAIL PROTECTED]
> > > I am wondering what the best way to avoid display of an
> > > ftp URL is when redirecting to an ftp location.
> >
> > Are you redirecting the user's browser to that location, or are you
> > wanting to obtain content from that location to send to the user's
> > browser via a servlet running under (say) Tomcat?  If you want to do the
> > former, it's not possible as the browser's address bar / properties
> > window will show the FTP location.  If the latter, one simple approach
> > would be to write a servlet that opened a ReadStream on the FTP resource
> > and repeatedly read from that and wrote to the servlet's output stream;
> > I have no doubt there would be better and more standard ways if I was
> > more familiar with the servlet spec!
> >
> > - Peter
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to