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 
                          [EMAIL PROTECTED] 
  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:[EMAIL PROTECTED]]
> Sent: Wednesday, 6 June 2001 8:03 AM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >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:[EMAIL PROTECTED]]
> > > Sent: Tuesday, June 05, 2001 6:57 AM
> > > To: [EMAIL PROTECTED]
> > > 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 <[EMAIL PROTECTED]>
> > > >Reply-To: [EMAIL PROTECTED]
> > > >To: <[EMAIL PROTECTED]>
> > > >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
> 

Reply via email to