aboutsummaryrefslogtreecommitdiff
path: root/help/urlm_wget
blob: 8ed70394118dc36bc4b44ea6fdf3c4e07571b891 (plain)
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

URLM_WGET [<wget-args] [<arg>]

Alternate command name: WGET

Downloads a URL with wget. <arg> is treated the same as /urlm_open (see
above). <wget-args>, if present, are passed to the wget process as-is
(see also the urlm_wget_extra_args setting).

When urlmanager runs wget, it creates a new irssi window (split or hidden)
named urlm_wget_<number> (where <number> is a unique serial number generated
by urlmanager). This window behaves as a normal irssi window (shows up
in /window list, can be closed with /window close, etc). By default,
wget windows are created as hidden windows (change with urlm_wget_split_size
setting), which are automatically closed 60 seconds after the wget process
completes (change with urlm_wget_autoclose and urlm_wget_autoclose_delay
settings).

To cancel a wget download, you may close its window while wget is still
running. This will kill the wget process, leaving any partially-downloaded
files behind (which may be resumed with wget's -c option).

Note: If you need to pass a numeric argument to /urlm_wget as its last
argument, do not separate it from its command switch with a space. That
is, instead of "/urlm_wget -T 30", use "/urlm_wget -T30" (or its long
version, "/urlm_wget --timeout=30"). The reason for this restriction
is that urlmanager will interpret the last argument as a URL number,
if it's numeric.