Updated on 01 Jul 2011
By Anthony Buckner
6 KB Safe To Install
Advertising











Specifications
License:
Freeware (Free)
Updated:
Downloads:
405
Platform:
Win 2003/XP/Vista/7
Publisher:
TredoSoft SP(more)
Website:
User Reviews:
Other versions:
Do you like
Httpmirror?
Publisher's Descriptions

You are at work. Your network admin uses restrictive firewall rules. You can't use rsync or ftp to create a local mirror of your favorite Linux distribution. Your only door to Linux mirrors is through http. What to do?

I took this as an opportunity to brush up on my rusty python scripting skills and cobbled together httpmirror.

httpmirror is a roughly made script that lets you mirror linux distributions. There are two main functionalities provided by httpmirror:

  1. Recursively download all the files from a Linux http mirror.

  2. Recursively download a list of all the files from a Linux http mirror.

Recursive downloading of files is experimental so use this if you have a very reliable connection and you feel adventurous. Having said that, resuming works here whereas it doesn't when you are only creating a list of files.

Alternatively you might want to only generate a list of files to download and then feed that list to your favorite download program. This is the recommended way.

To get a better picture of what you can do with httpmirror here is the output from httpmirror if you don't provide any command-line arguments

a@a:~/Desktop/python-to-go$ ./httpmirror.py
Usage: httpmirror.py [options]

Options:
-h, --help  show this help message and exit
-x NOLIST   a comma-separated list of words that should be avoided
-m URL      The base url. This will download all the files
-l URLLIST  The base url. This will only save the list of files
-o FILE     The file output should you decide to only download the file list
  • The -x option allows the use of exceptions. Oftentimes you need to exclude certain files/directories from being fetched. For example if you are only interested in the i386 arch distribution and want to exclude amd64, sparc, and powerpc you'd add the following '-x amd64,sparc,powerpc'

  • You MUST specify either -m with a url or -l with a url.

  • The -o option is optional and only useful if you want to generate a list of files to download and you want to specify a custom file name. The default is out.txt

  • To use a proxy server the 'http_proxy' environment variable must be set. (in linux you'd enter 'export http_proxy=http://myproxy:port').



Do you like Httpmirror

Httpmirror Disclamer
Please be aware FindMySoft.com accepts no responsibility for the file you are downloading. The same applies to the information provided about the software products listed.
We do not allow the inclusion of any Httpmirror serial, keygen or crack and we disclaim any liability for the inappropriate use of Httpmirror.
FindMySoft advises that Httpmirror should be only used in accordance with the rules of intellectual property and the existing Criminal Code.
For your own protection ALWAYS check downloaded files for viruses.
Advertising
Popular News
The soon to be released Samsung Galaxy S3 is shaping up to be an event bigger commercial success than its predecessor, the Samsung Galaxy S2
Linux fans once again have the chance to take part in the annual Linux Foundation T-Shirt Design Contest, now in its 3rd edition
Your Rating
1.0
out
of
5
Rated By
1 Users
Top Downloads
Become A Fan!
Link To Us!
Httpmirror
HTML Linking Code
Latest Reviews