urpm::download

Section: Mageia Package Management (3)
Updated: 2017-12-23
Page Index
 

NAME

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

SYNOPSIS

 

DESCRIPTION

get_proxy($media)
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)
set_cmdline_proxy(%h)
Overrides the config file proxy settings with values passed via command-line
set_proxy_config($key, $value, $o_media)
Changes permanently the proxy settings
sync_logger($mode, $file, $percent, $_total, $_eta, $_speed)
Default logger (callback) suitable for sync operation on STDERR only.
requested_ftp_http_downloader($urpm, $medium)
Return the downloader program to use (whether it pas provided on the command line or in the config file).
sync_url($urpm, $url, %options)
Retrieve a file from the network and return the local cached file path.
get_content($urpm, $url, %o_options)
Retrieve a file and return its content.
 

COPYRIGHT

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

Copyright (C) 2005-2010 Mandriva SA

Copyright (C) 2011-2017 Mageia


 

Index

NAME
SYNOPSIS
DESCRIPTION
COPYRIGHT
LinuxReviews : manual page archive : man3pm