### ### Sample Wget initialization file .wgetrc ### ## You can use this file to change the default behaviour of wget or to ## avoid having to type many many command-line options. This file does ## not contain a comprehensive list of commands -- look at the manual ## to find out what you can put into this file. ## ## Wget initialization file can reside in /usr/local/etc/wgetrc ## (global, for all users) or $HOME/.wgetrc (for a single user). ## ## To use any of the settings in this file, you will have to uncomment ## them (and probably change them). ## ## Global settings (useful for setting up in /usr/local/etc/wgetrc). ## Think well before you change them, since they may reduce wget's ## functionality, and make it behave contrary to the documentation: ## # You can set retrieve quota for beginners by specifying a value # optionally followed by 'K' (kilobytes) or 'M' (megabytes). The # default quota is unlimited. #quota = inf # You can lower (or raise) the default number of retries when # downloading a file (default is 20). #num_tries = 20 num_tries = 40 # Lowering the maximum depth of the recursive retrieval is handy to # prevent newbies from going too "deep" when they unwittingly start # the recursive retrieval. The default is 5. #reclevel = 5 # Many sites are behind firewalls that do not allow initiation of # connections from the outside. On these sites you have to use the # `passive' feature of FTP. If you are behind such a firewall, you # can turn this on to make Wget use passive FTP by default. #passive_ftp = off ## ## Local settings (for a user to set in his $HOME/.wgetrc). It is ## *highly* undesirable to put these settings in the global file, since ## they are potentially dangerous to "normal" users. ## ## Even when setting up your own ~/.wgetrc, you should know what you ## are doing before doing so. ## ## ================= ## Your user name on the remote machine, for FTP. ## Defaults to "anonymous". login = anonymous ## !!!重要!!! ## Your password on the remote machine, for FTP. ## Defaults to username@hostname.domainname. passwd = kzsnsk@anet.ne.jp ## あなたの環境に合わせて適切に設定してください #wget_root = E:\home\yasuhide\mirror ## ================= # Set this to on to use timestamping by default: #timestamping = off # It is a good idea to make Wget send your email address in a `From:' # header with your request (so that server administrators can contact # you in case of errors). Wget does *not* send `From:' by default. #header = From: Your Name # You can set up other headers, like Accept-Language. Accept-Language # is *not* sent by default. #header = Accept-Language: en # You can set the default proxy for Wget to use. It will override the # value in the environment. http_proxy = http://proxy01.so-net.ne.jp:8080/ # If you do not want to use proxy at all, set this to off. use_proxy = on # You can customize the retrieval outlook. Valid options are default, # binary, mega and micro. #dot_style = default # Setting this to off makes Wget not download /robots.txt. Be sure to # know *exactly* what /robots.txt is and how it is used before changing # the default! #robots = on # It can be useful to make Wget wait between connections. Set this to # the number of seconds you want Wget to wait. #wait = 0 # You can force creating directory structure, even if a single is being # retrieved, by setting this to on. # Turning dirstruct on or off, the same as -x or -nd, # respectively. #dirstruct = off # You can turn on recursive retrieving by default (don't do this if # you are not sure you know what it means) by setting this to on. # Recursive on/off, the same as -r. #recursive = off # Follow FTP links from HTML documents, the same as -f. # To have Wget follow FTP links from HTML files by default, set this # to on: #follow_ftp = off #accept/reject = string ## Enable/disable host-prefixed hostnames. -nH disables it. #add_hostdir = on/off ## Enable/disable continuation of the retrieval, the same as -c. always_rest = on ## Set base for relative URL-s, the same as -B. #base = string ## Convert non-relative links locally. The same as -k. convert_links = off ## Debug mode, same as -d. #debug = on/off ## Set permission modes of created subdirectories (default is 755). #dir_mode = N ## Top of directory tree, the same as -P. #dir_prefix = ## Same as -D. #domains = string ## If set to on, force the input filename to be regarded ## as an HTML document, the same as -F. #force_html = on/off ## Use the string as FTP proxy, instead of the one ## specified in environment. #ftp_proxy = string ## Turn globbing on/off, the same as -g. #glob = on/off ## Set HTTP password. http_passwd = string ## Set HTTP user. #http_user = string ## Read the URL-s from filename, like -i. #input = string ## Consider data longer than specified in content length ## header as invalid (and retry getting it). The default ## behaviour is to save as much data as there is, ## provided there is more than or equal to the value in ## content-length. #kill_longer = on/off ## Set logfile, the same as -o. #logfile = string ## Turn mirroring on/off. The same as -m. #mirror = on/off ## Same as -nc. #noclobber = on/off ## Same as --no-parent. #no_parent = on/off ## Use the string as the comma-separated list of domains ## to avoid in proxy loading, instead of the one ## specified in environment. #no_proxy = string ## Set the output filename, the same as -O. #output_document = string ## Quiet mode, the same as -q. #quiet = off ## Specify the download quota, which is useful to put in/ ## usr/local/lib/wgetrc. When download quota is ## specified, wget will stop retrieving after the ## download sum has become greater than quota. The quota ## can be specified in bytes (default), kbytes ## ('k'appended) or mbytes ('m' appended). ## Thus "quota = 5m" will set the quota to 5 mbytes. ## Note that the user's startup file overrides system ## settings. quota = inf ## Follow only relative links (the same as -L). Refer to ## section FOLLOWING LINKS for a more detailed ## description. #relative_only = on/off ## Choose whether or not to print the HTTP and FTP server ## responses, the same as -S. server_response = on ## Same as -nh. #simple_host_check = on/off ## Same as -H. #span_hosts = on/off ## Set timeout value, the same as -T. (Default = 900) timeout = 200 ## Turn timestamping on/off. The same as -N. timestamping = on ## Turn verbose on/off, the same as -v/-nv. verbose = off