aboutsummaryrefslogtreecommitdiff
path: root/help/urlm_wget
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-08-12 04:30:10 -0400
committerB. Watson <yalhcru@gmail.com>2015-08-12 04:30:10 -0400
commit4ef0f5708e20509e427c706acedff6a22bf0faaa (patch)
treed12262b419530f40a3ef7cd24998f047ed443ebf /help/urlm_wget
downloadirssi-urlmanager-4ef0f5708e20509e427c706acedff6a22bf0faaa.tar.gz
initial commit
Diffstat (limited to 'help/urlm_wget')
-rw-r--r--help/urlm_wget29
1 files changed, 29 insertions, 0 deletions
diff --git a/help/urlm_wget b/help/urlm_wget
new file mode 100644
index 0000000..8ed7039
--- /dev/null
+++ b/help/urlm_wget
@@ -0,0 +1,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.
+