File: htgetrc

package info (click to toggle)
htget 0.9.1-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 108 kB
  • ctags: 55
  • sloc: ansic: 927; makefile: 50
file content (129 lines) | stat: -rw-r--r-- 3,714 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# htget example resource file.
#
# This file defines the options which you use for connecting to any
# server on the net. At the moment it is optimised for my modem connection.
#
# Some options can be overridden in htget's parameters.



# Timeout in seconds. This is the amount of time that will be allowed to
# pass with no data coming down the line before htget gives up 
# that particular download attempt. A timeout of zero is taken 
# to mean no timeout.
#
# Default value: 30 seconds
# Override using: --timeout=<new-timeout>
#
Timeout=30


# Redial. This is a feature of htget that will continuously attempt to
# get a file until you tell it to stop. This is really useful, especially
# with servers that support file resuming.
#
# It is turned on by giving a redial delay. After a download times out,
# or stops for whatever reason, htget waits for the amount of time
# given here, then tries again.
#
# Default value: 10 seconds
# Override using: --redial=<new-redial-delay>
#
# Giving a zero redial delay turns off the redial feature.
#
Redial=10


# Resume. All good http servers, and some bad ones, allow you to start
# a download from the middle of a file. htget uses this to resume
# downloads that time out.
#
# This is a boolean value that may be either 1 (on) or 0 (off).
# Default value: 1 (on)
# Override using: --resume or --noresume
#
Resume=1


# Minimum Rate.
# You may have noticed while downloading from some servers
# that the download speed seems to decrease as the download
# progresses. The MinRate feature addresses this problem by
# stopping the download once the download speed has dropped
# below a certain level.
#
# Using the default setting, 1000 bytes/sec, if the download
# rate drops below 1000 bytes/sec for longer than the Timeout,
# the download is assumed to have stopped.
#
# A MinRate of 0 will turn off the feature
#
# Default value: 1000
# Override using: --minrate=<rate>
MinRate=1000


# Verbose. This prints a lot of additional information about the
# client, server, and the exchange of data going on.
# Not all that useful, except for debugging this program and
# finding out which httpd the server is running.
#
# This is a boolean value that may be either 1 (on) or 0 (off).
# Default value: 0 (off)
# Override using: --verbose or --noverbose
#
Verbose=0


# Download Status display features.
# These should be fairly self-explanatory. You can't override these 
# at the moment using parameters, but you will probably just want
# to leave them on.
#
# They are all boolean values, ie. 1 is on, 0 is off
#
ShowBytesRemaining=1
ShowTimeRemaining=1
ShowPercentage=1
ShowBytesPerSecond=1


# DownloadsDir
# The directory where files are placed. By default, this is the
# directory that htget is run from.
#
# However, you can specify other directories.
# I use: DownloadsDir=/home/jwhitham/dnloads
#
# Default value: ./
# Override using: --downloadsdir=<directory>
# To download to the current directory, use: --currentdir
#
DownloadsDir=./

# UserAgent
# Allows you to rename the client name htget uses.
# This is useful to allow htget to spoof other HTTP agents, eg. browsers,
# as doing so may allow faster access to some servers.
#
# To spoof Netscape Communicator (Mozilla) for a version of Linux:
# UserAgent=Mozilla/4.05 [en] (X11; I; Linux 2.0.34 i586)
#
# To spoof Microsoft's browser:
# UserAgent=Mozilla/4.0 (compatible; MSIE 4.0; Windows 95)
#
# Default value: linux htget 0.91
# This feature cannot be overridden at present.
#
UserAgent=linux htget 0.91


# ShowBanner. This boolean option allows you to turn off the
# htget banner that appears at the start.
#
# Default value: 1 (on)
# This feature cannot be overridden at present.
#
ShowBanner=1