SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Download files from Apache server?

    Hello,

    Is there a way to download files and folders from an apache server via FTP or some kind of a website downloader?

    The mains page looks like this;

    Index of /IBBM

    Name Last modified Size Description
    Parent Directory -
    Accounts_and_Finance/ 10-Feb-2012 01:27 -
    Business_organisation/ 10-Feb-2012 01:31 -
    Human_resources/ 10-Feb-2012 01:32 -
    Marketing/ 10-Feb-2012 01:32 -
    Operations/ 10-Feb-2012 01:32 -
    Apache/2.2.15 (CentOS) Server at *****************n Port 80

  2. #2
    Twitter: @TimIgoe silver trophy TimIgoe's Avatar
    Join Date
    Feb 2005
    Location
    Blackpool, UK
    Posts
    1,056
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    Download files from Apache Via FTP - that'd be called an FTP Server

    Apache serves HTTP, not FTP.

    If you want to just host files, apache is good at doing that, but you'll need something a little extra to support a way to download a ful follder easily.

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,650
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    Right on, Tim!

    Apache's job is to serve files upon request (via HTTP protocol) and it does that for those file types it recognizes (.html, .htm, .php, .txt, .js, ...). For those it does not recognize (like .exe, .ppt, .xls, ...), it will offer to download the file. IF the webmaster (and host's sysadmin) is not careful, directory listings are provided by default so a visitor could download any file - not a desirable situation for a real webmaster!

    Better stick with a solution designed to do what you need it to do and use an FTP daemon which can readily communicate with FTP clients.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  4. #4
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by TimIgoe View Post
    Download files from Apache Via FTP - that'd be called an FTP Server

    Apache serves HTTP, not FTP.

    If you want to just host files, apache is good at doing that, but you'll need something a little extra to support a way to download a ful follder easily.
    That's NOT correct.
    Apache CAN serve FTP if you add a ftp module to it (mod_ftp) and configure it correctly.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •