You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by aswath satrasala <as...@hotmail.com> on 2001/06/06 00:03:00 UTC
download files using ftp from browser
Hello,
Sorry, I think I did not phrase the question properly
or I think I am looking for alternate answers.
I am looking to download files using FTP from
my website through browser. (This is similar to sun's
option to provide JDK download using FTP)
I have simple website (all html) which displays
all the files in a given directory. When the user
click on any file, then file download is started.
I think this is a http download and is the default
behavior of the browser.
I would like to do a ftp download instead of http download
(This is similar to sun's
option to provide JDK download using FTP)
I wanted to do this, because I understand that FTP is
a better protocol for file download. Also my file size are
large like 1GB
Thanks
-Aswath
>From: William Kaufman <WK...@viquity.com>
>Reply-To: tomcat-user@jakarta.apache.org
>To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
>Subject: RE: download files using ftp
>Date: Tue, 5 Jun 2001 07:05:36 -0700
>
>Do you mean you're trying to do an FTP download _of_ Java _in_ Java?
>
>I wouldn't attempt this: there's one form (the license agreement) followed
>by another form (the FTP download site selection). And Sun would probably
>consider bypassing the forms (if possible) as legally questionable,
>especially the license agreement.
>
>If you're just trying to do an FTP download in Java (of something else),
>look at
>
> http://java.sun.com/j2se/1.3/docs/api/java/net/URL.html
>
>specifically, URL.openConnection().
>
> -- Bill K.
>
>
> > -----Original Message-----
> > From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
> > Sent: Tuesday, June 05, 2001 6:57 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: download files using ftp
> >
> >
> > Hi,
> > I have seen on Sun's web site, an option to download JDK using
> > ftp download.
> > Are there any samples to do this. Please
> > point to the documentation.
> >
> > Thanks
> > -Aswath
> >
> >
> > >From: François Andromaque <fr...@sib.fr>
> > >Reply-To: tomcat-user@jakarta.apache.org
> > >To: <to...@jakarta.apache.org>
> > >Subject: TOMCAT and APACHE
> > >Date: Tue, 5 Jun 2001 15:44:07 +0200
> > >
> > >I've configured separately apache to work with SSL and
> > TOMCAT to establish
> > >a distant database connection, i would like know to make the
> > both to work
> > >together.
> > >If mod_jk is really necessary, what are the steps to compile it?
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: download files using ftp from browser
Posted by "Moin Anjum H." <mo...@yahoo.com>.
Hi,
Ross is right. When you display files in the html tag you give href tag right.
In the href Tag specify as ftp://domain.com/filename. Once the user clicks he
will down load it from the Ftp Site
HTH
Moin.
aswath satrasala wrote:
> Hello,
> Sorry, I think I did not phrase the question properly
> or I think I am looking for alternate answers.
>
> I am looking to download files using FTP from
> my website through browser. (This is similar to sun's
> option to provide JDK download using FTP)
>
> I have simple website (all html) which displays
> all the files in a given directory. When the user
> click on any file, then file download is started.
> I think this is a http download and is the default
> behavior of the browser.
>
> I would like to do a ftp download instead of http download
> (This is similar to sun's
> option to provide JDK download using FTP)
> I wanted to do this, because I understand that FTP is
> a better protocol for file download. Also my file size are
> large like 1GB
>
> Thanks
> -Aswath
>
> >From: William Kaufman <WK...@viquity.com>
> >Reply-To: tomcat-user@jakarta.apache.org
> >To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
> >Subject: RE: download files using ftp
> >Date: Tue, 5 Jun 2001 07:05:36 -0700
> >
> >Do you mean you're trying to do an FTP download _of_ Java _in_ Java?
> >
> >I wouldn't attempt this: there's one form (the license agreement) followed
> >by another form (the FTP download site selection). And Sun would probably
> >consider bypassing the forms (if possible) as legally questionable,
> >especially the license agreement.
> >
> >If you're just trying to do an FTP download in Java (of something else),
> >look at
> >
> > http://java.sun.com/j2se/1.3/docs/api/java/net/URL.html
> >
> >specifically, URL.openConnection().
> >
> > -- Bill K.
> >
> >
> > > -----Original Message-----
> > > From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
> > > Sent: Tuesday, June 05, 2001 6:57 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: download files using ftp
> > >
> > >
> > > Hi,
> > > I have seen on Sun's web site, an option to download JDK using
> > > ftp download.
> > > Are there any samples to do this. Please
> > > point to the documentation.
> > >
> > > Thanks
> > > -Aswath
> > >
> > >
> > > >From: François Andromaque <fr...@sib.fr>
> > > >Reply-To: tomcat-user@jakarta.apache.org
> > > >To: <to...@jakarta.apache.org>
> > > >Subject: TOMCAT and APACHE
> > > >Date: Tue, 5 Jun 2001 15:44:07 +0200
> > > >
> > > >I've configured separately apache to work with SSL and
> > > TOMCAT to establish
> > > >a distant database connection, i would like know to make the
> > > both to work
> > > >together.
> > > >If mod_jk is really necessary, what are the steps to compile it?
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: download files using ftp from browser
Posted by Will England <wi...@mylanders.com>.
You are exactally correct. To download a file via FTP, all you do is make
sure you have a functioning FTP server, make sure the files are available
to anonymous users on the FTP server and then make the <A HREF> links like
this:
ftp://ftp.yourserver.com/path/to/file.html
instead of
http://www.yourserver.com/path/to/file.html
This tells the client interface program (web browser) to connect via the
FTP protocol instead of the HTTP protocol.
Will
--
"If Al Gore invented the Internet, then I invented spellcheck!"
Dan Quayle, quoted at the National Press Club, 8/3/1999
will@mylanders.com
Recovery : http://will.mylanders.com/ PCS: 316-371-FOAD
On Wed, 6 Jun 2001, Ross Dyson wrote:
> What happens if you have your ftp server set up, and you have the path to a
> file in your ftp server's default path, and on your download page you have
> prefix it with ftp://
>
> I think the ftp downloads must be a function of your ftp server.
>
> -----Original Message-----
> From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
> Sent: Wednesday, 6 June 2001 8:03 AM
> To: tomcat-user@jakarta.apache.org
> Subject: download files using ftp from browser
>
>
> Hello,
> Sorry, I think I did not phrase the question properly
> or I think I am looking for alternate answers.
>
> I am looking to download files using FTP from
> my website through browser. (This is similar to sun's
> option to provide JDK download using FTP)
>
> I have simple website (all html) which displays
> all the files in a given directory. When the user
> click on any file, then file download is started.
> I think this is a http download and is the default
> behavior of the browser.
>
> I would like to do a ftp download instead of http download
> (This is similar to sun's
> option to provide JDK download using FTP)
> I wanted to do this, because I understand that FTP is
> a better protocol for file download. Also my file size are
> large like 1GB
>
> Thanks
> -Aswath
>
>
>
>
>
>
>
>
>
> >From: William Kaufman <WK...@viquity.com>
> >Reply-To: tomcat-user@jakarta.apache.org
> >To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
> >Subject: RE: download files using ftp
> >Date: Tue, 5 Jun 2001 07:05:36 -0700
> >
> >Do you mean you're trying to do an FTP download _of_ Java _in_ Java?
> >
> >I wouldn't attempt this: there's one form (the license agreement) followed
> >by another form (the FTP download site selection). And Sun would probably
> >consider bypassing the forms (if possible) as legally questionable,
> >especially the license agreement.
> >
> >If you're just trying to do an FTP download in Java (of something else),
> >look at
> >
> > http://java.sun.com/j2se/1.3/docs/api/java/net/URL.html
> >
> >specifically, URL.openConnection().
> >
> > -- Bill K.
> >
> >
> > > -----Original Message-----
> > > From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
> > > Sent: Tuesday, June 05, 2001 6:57 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: download files using ftp
> > >
> > >
> > > Hi,
> > > I have seen on Sun's web site, an option to download JDK using
> > > ftp download.
> > > Are there any samples to do this. Please
> > > point to the documentation.
> > >
> > > Thanks
> > > -Aswath
> > >
> > >
> > > >From: Fran�ois Andromaque <fr...@sib.fr>
> > > >Reply-To: tomcat-user@jakarta.apache.org
> > > >To: <to...@jakarta.apache.org>
> > > >Subject: TOMCAT and APACHE
> > > >Date: Tue, 5 Jun 2001 15:44:07 +0200
> > > >
> > > >I've configured separately apache to work with SSL and
> > > TOMCAT to establish
> > > >a distant database connection, i would like know to make the
> > > both to work
> > > >together.
> > > >If mod_jk is really necessary, what are the steps to compile it?
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
RE: download files using ftp from browser
Posted by Ross Dyson <rd...@reef.com>.
What happens if you have your ftp server set up, and you have the path to a
file in your ftp server's default path, and on your download page you have
prefix it with ftp://
I think the ftp downloads must be a function of your ftp server.
-----Original Message-----
From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
Sent: Wednesday, 6 June 2001 8:03 AM
To: tomcat-user@jakarta.apache.org
Subject: download files using ftp from browser
Hello,
Sorry, I think I did not phrase the question properly
or I think I am looking for alternate answers.
I am looking to download files using FTP from
my website through browser. (This is similar to sun's
option to provide JDK download using FTP)
I have simple website (all html) which displays
all the files in a given directory. When the user
click on any file, then file download is started.
I think this is a http download and is the default
behavior of the browser.
I would like to do a ftp download instead of http download
(This is similar to sun's
option to provide JDK download using FTP)
I wanted to do this, because I understand that FTP is
a better protocol for file download. Also my file size are
large like 1GB
Thanks
-Aswath
>From: William Kaufman <WK...@viquity.com>
>Reply-To: tomcat-user@jakarta.apache.org
>To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
>Subject: RE: download files using ftp
>Date: Tue, 5 Jun 2001 07:05:36 -0700
>
>Do you mean you're trying to do an FTP download _of_ Java _in_ Java?
>
>I wouldn't attempt this: there's one form (the license agreement) followed
>by another form (the FTP download site selection). And Sun would probably
>consider bypassing the forms (if possible) as legally questionable,
>especially the license agreement.
>
>If you're just trying to do an FTP download in Java (of something else),
>look at
>
> http://java.sun.com/j2se/1.3/docs/api/java/net/URL.html
>
>specifically, URL.openConnection().
>
> -- Bill K.
>
>
> > -----Original Message-----
> > From: aswath satrasala [mailto:aswath_jboss@hotmail.com]
> > Sent: Tuesday, June 05, 2001 6:57 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: download files using ftp
> >
> >
> > Hi,
> > I have seen on Sun's web site, an option to download JDK using
> > ftp download.
> > Are there any samples to do this. Please
> > point to the documentation.
> >
> > Thanks
> > -Aswath
> >
> >
> > >From: François Andromaque <fr...@sib.fr>
> > >Reply-To: tomcat-user@jakarta.apache.org
> > >To: <to...@jakarta.apache.org>
> > >Subject: TOMCAT and APACHE
> > >Date: Tue, 5 Jun 2001 15:44:07 +0200
> > >
> > >I've configured separately apache to work with SSL and
> > TOMCAT to establish
> > >a distant database connection, i would like know to make the
> > both to work
> > >together.
> > >If mod_jk is really necessary, what are the steps to compile it?
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com