
urpm::download - download routines for the urpm* tools


Reads and loads the proxy.cfg file ; Returns the global proxy settings (without arguments) or the proxy settings for the specified media (with a media name as argument)
Overrides the config file proxy settings with values passed via command-line
Changes permanently the proxy settings
Default logger (callback) suitable for sync operation on STDERR only.
Return the downloader program to use (whether it pas provided on the command line or in the config file).
Retrieve a file from the network and return the local cached file path.
Retrieve a file and return its content.

Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA
Copyright (C) 2005-2010 Mandriva SA