From 660b569b0980fc8f71b03ed666dd02eec8388b4c Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 19 Mar 2012 12:59:03 +0000 Subject: httrack 3.41.2 --- html/httrack.man.html | 564 ++++++++++++++------------------------------------ 1 file changed, 155 insertions(+), 409 deletions(-) (limited to 'html/httrack.man.html') diff --git a/html/httrack.man.html b/html/httrack.man.html index 116cbb5..13ee1a0 100644 --- a/html/httrack.man.html +++ b/html/httrack.man.html @@ -1,5 +1,5 @@ - + @@ -46,14 +46,15 @@ local directory

httrack [ url ]... [ -filter ]... [ +filter ]... [ -] [ -w, --mirror ] [ -W, --mirror-wizard ] [ --g, --get-files ] [ -i, --continue ] [ -Y, ---mirrorlinks ] [ -P, --proxy ] [ -%f, ---httpproxy-ftp[=N] ] [ -%b, --bind ] [ -rN, ---depth[=N] ] [ -%eN, --ext-depth[=N] ] [ -mN, ---max-files[=N] ] [ -MN, --max-size[=N] ] [ --EN, --max-time[=N] ] [ -AN, --max-rate[=N] ] -[ -%cN, --connection-per-second[=N] ] [ -GN, +] [ -%O, --chroot ] [ -w, --mirror ] [ -W, +--mirror-wizard ] [ -g, --get-files ] [ -i, +--continue ] [ -Y, --mirrorlinks ] [ -P, +--proxy ] [ -%f, --httpproxy-ftp[=N] ] [ -%b, +--bind ] [ -rN, --depth[=N] ] [ -%eN, +--ext-depth[=N] ] [ -mN, --max-files[=N] ] [ +-MN, --max-size[=N] ] [ -EN, --max-time[=N] ] +[ -AN, --max-rate[=N] ] [ -%cN, +--connection-per-second[=N] ] [ -GN, --max-pause[=N] ] [ -%mN, --max-mms-time[=N] ] [ -cN, --sockets[=N] ] [ -TN, --timeout ] [ -RN, --retries[=N] ] [ -JN, --min-rate[=N] ] [ @@ -72,20 +73,20 @@ local directory

] [ -%h, --http-10 ] [ -%k, --keep-alive ] [ -%B, --tolerant ] [ -%s, --updatehack ] [ -%u, --urlhack ] [ -%A, --assume ] [ -@iN, ---protocol[=N] ] [ -F, --user-agent ] [ -%R, ---referer ] [ -%E, --from ] [ -%F, ---footer ] [ -%l, --language ] [ -C, ---cache[=N] ] [ -k, --store-all-in-cache ] [ --%n, --do-not-recatch ] [ -%v, --display ] [ --Q, --do-not-log ] [ -q, --quiet ] [ -z, ---extra-log ] [ -Z, --debug-log ] [ -v, ---verbose ] [ -f, --file-log ] [ -f2, ---single-log ] [ -I, --index ] [ -%i, ---build-top-index ] [ -%I, --search-index ] [ --pN, --priority[=N] ] [ -S, --stay-on-same-dir -] [ -D, --can-go-down ] [ -U, --can-go-up ] [ --B, --can-go-up-and-down ] [ -a, ---stay-on-same-address ] [ -d, +--protocol[=N] ] [ -%w, --disable-module ] [ +-F, --user-agent ] [ -%R, --referer ] [ +-%E, --from ] [ -%F, --footer ] [ -%l, +--language ] [ -C, --cache[=N] ] [ -k, +--store-all-in-cache ] [ -%n, --do-not-recatch ] +[ -%v, --display ] [ -Q, --do-not-log ] [ +-q, --quiet ] [ -z, --extra-log ] [ -Z, +--debug-log ] [ -v, --verbose ] [ -f, +--file-log ] [ -f2, --single-log ] [ -I, +--index ] [ -%i, --build-top-index ] [ -%I, +--search-index ] [ -pN, --priority[=N] ] [ -S, +--stay-on-same-dir ] [ -D, --can-go-down ] [ +-U, --can-go-up ] [ -B, --can-go-up-and-down ] +[ -a, --stay-on-same-address ] [ -d, --stay-on-same-domain ] [ -l, --stay-on-same-tld ] [ -e, --go-everywhere ] [ -%H, --debug-headers ] [ -%!, @@ -255,8 +256,8 @@ proxy

- - + @@ -266,6 +267,18 @@ proxy

path for mirror/logfiles+cache (-O path mirror[,path cache and logfiles]) (--path <param>)

+ + + + +
+

-O

+ +

-%O

+
+ +

chroot path to, must be r00t (-%O root path) (--chroot +<param>)

+
cols="4" cellspacing="0" cellpadding="0"> - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + + + + + +
+

-P

proxy use (-P proxy:port or -P user:pass@proxy:port) @@ -363,11 +376,11 @@ cache and logfiles]) (--path <param>)

+

-%f

*use proxy for ftp (f0 don t use) @@ -375,11 +388,11 @@ cache and logfiles]) (--path <param>)

+

-%b

use this local hostname to make/send requests (-%b @@ -529,22 +542,22 @@ minute, 3600=1 hour) (--max-mms-time[=N])

cols="4" cellspacing="0" cellpadding="0">
+

-cN

number of multiple connections (*c8) (--sockets[=N])

+

-TN

timeout, number of seconds after a non-responding link @@ -552,11 +565,11 @@ is shutdown (--timeout)

+

-RN

number of retries, in case of timeout or non-fatal @@ -564,11 +577,11 @@ errors (*R1) (--retries[=N])

+

-JN

traffic jam control, minimum transfert rate @@ -576,11 +589,11 @@ errors (*R1) (--retries[=N])

+

-HN

host is abandonned if: 0=never, 1=timeout, 2=slow, @@ -672,11 +685,11 @@ file (one scan rule per line) (--urllist <param>)

cols="4" cellspacing="0" cellpadding="0">
+

-NN

structure type (0 *original structure, 1+: see below) @@ -684,22 +697,22 @@ file (one scan rule per line) (--urllist <param>)

+

-or

user defined structure (-N "%h%p/%n%q.%t")

+

-%N

delayed type check, don t make any link test but wait @@ -708,11 +721,11 @@ t use, %N1 use for unknown extensions, * %N2 always use)

+

-%D

cached delayed type check, don t wait for remote type @@ -721,11 +734,11 @@ during updates, to speedup them (%D0 wait, * %D1 don t wait)

+

-%M

generate a RFC MIME-encapsulated full-archive (.mht) @@ -733,11 +746,11 @@ during updates, to speedup them (%D0 wait, * %D1 don t wait)

+

-LN

long names (L1 *long names / L0 8-3 conversion / L2 @@ -745,11 +758,11 @@ ISO9660 compatible) (--long-names[=N])

+

-KN

keep original links (e.g. http://www.adr/link) (K0 @@ -758,11 +771,11 @@ absolute URI links) (--keep-links[=N])

+

-x

replace external html links by error pages @@ -770,11 +783,11 @@ absolute URI links) (--keep-links[=N])

+

-%x

do not include any password for external password @@ -782,11 +795,11 @@ protected websites (%x0 include) (--disable-passwords)

+

-%q

*include query string for local files (useless, for @@ -795,11 +808,11 @@ information purpose only) (%q0 don t include)

+

-o

*generate output html file in case of error (404..) (o0 @@ -807,11 +820,11 @@ don t generate) (--generate-errors)

+

-X

*purge old files after update (X0 keep delete) @@ -819,11 +832,11 @@ don t generate) (--generate-errors)

+

-%p

preserve html files as is (identical to -K4 -%F @@ -843,11 +856,11 @@ don t generate) (--generate-errors)

cols="4" cellspacing="0" cellpadding="0">
+

-bN

accept cookies in cookies.txt (0=do not accept,* @@ -855,11 +868,11 @@ don t generate) (--generate-errors)

+

-u

check document type if unknown (cgi,asp..) (u0 don t @@ -868,23 +881,24 @@ check, * u1 check but /, u2 check always)

+

-j

-

*parse Java Classes (j0 don t parse) -(--parse-java[=N])

+

*parse Java Classes (j0 don t parse, bitmask: |1 parse +default, |2 don t parse .class |4 don t parse .js |8 don t +be aggressive) (--parse-java[=N])

+

-sN

follow robots.txt and meta robots tags @@ -893,11 +907,11 @@ rules)) (--robots[=N])

+

-%h

force HTTP/1.0 requests (reduce update features, only @@ -905,11 +919,11 @@ for old servers or proxies) (--http-10)

+

-%k

use keep-alive if possible, greately reducing latency @@ -918,11 +932,11 @@ for small files and test requests (%k0 don t use)

+

-%B

tolerant requests (accept bogus responses on some @@ -930,11 +944,11 @@ servers, but not standard!) (--tolerant)

+

-%s

update hacks: various hacks to limit re-transfers when @@ -943,11 +957,11 @@ updating (identical size, bogus response..)

+

-%u

url hacks: various hacks to limit duplicate URLs (strip @@ -955,11 +969,11 @@ updating (identical size, bogus response..)

+

-%A

assume that a type (cgi,asp..) is always linked with a @@ -968,11 +982,11 @@ mime type (-%A php3,cgi=text/html;dat,bin=application/x-zip)

+

-can

also be used to force a specific file type: --assume @@ -980,16 +994,28 @@ foo.cgi=text/html

+

-@iN

internet protocol (0=both ipv6+ipv4, 4=ipv4 only, 6=ipv6 only) (--protocol[=N])

+ +

-%w

+
+ +

disable a specific external mime module (-%w htsswf -%w +htsjava) (--disable-module <param>)

+
@@ -1612,7 +1638,7 @@ make) (--search-index)

@@ -1768,8 +1794,7 @@ smith) (--user <param>)

-

cache repair (damaged cache) (--debug-oldftp)

+

cache repair (damaged cache) (--repair-cache)

-

old FTP routines (debug) (--debug-oldftp)

+

old FTP routines (debug) (--repair-cache)

use an external library function as a wrapper (-%W -link-detected=foo.so:myfunction[,myparameters]) (--callback -<param>)

+myfoo.so[,myparameters]) (--callback <param>)

@@ -1782,58 +1807,53 @@ link-detected=foo.so:myfunction[,myparameters]) (--callback + cols="3" cellspacing="0" cellpadding="0"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - + - - +
+

-N0

Site-structure (default)

+

-N1

HTML in web/, images/other files in web/images/

+

-N2

HTML in web/HTML, images/other in web/images

+

-N3

HTML in web/, images/other in web/

+

-N4

HTML in web/, images/other in web/xxx, where xxx is the @@ -1842,44 +1862,40 @@ example)

+

-N5

Images/other in web/xxx and HTML in web/HTML

+

-N99

All files in web/, with random names (gadget !)

+

-N100

Site-structure, without www.domain.xxx/

+

-N101

Identical to N1 exept that "web" is replaced @@ -1887,11 +1903,10 @@ by the site s name

+

-N102

Identical to N2 exept that "web" is replaced @@ -1899,11 +1914,10 @@ by the site s name

+

-N103

Identical to N3 exept that "web" is replaced @@ -1911,11 +1925,10 @@ by the site s name

+

-N104

Identical to N4 exept that "web" is replaced @@ -1923,11 +1936,10 @@ by the site s name

+

-N105

Identical to N5 exept that "web" is replaced @@ -1935,11 +1947,10 @@ by the site s name

+

-N199

Identical to N99 exept that "web" is replaced @@ -1947,11 +1958,10 @@ by the site s name

+

-N1001

Identical to N1 exept that there is no "web" @@ -1959,11 +1969,10 @@ directory

+

-N1002

Identical to N2 exept that there is no "web" @@ -1971,11 +1980,10 @@ directory

+

-N1003

Identical to N3 exept that there is no "web" @@ -1983,11 +1991,10 @@ directory (option set for g option)

+

-N1004

Identical to N4 exept that there is no "web" @@ -1995,11 +2002,10 @@ directory

+

-N1005

Identical to N5 exept that there is no "web" @@ -2007,11 +2013,10 @@ directory

+

-N1099

Identical to N99 exept that there is no "web" @@ -2171,11 +2176,11 @@ be empty

cols="4" cellspacing="0" cellpadding="0">
+

-K0

foo.cgi?q=45 -> foo4B54.html?q=45 (relative URI, @@ -2183,11 +2188,11 @@ default)

+

-K

-> http://www.foobar.com/folder/foo.cgi?q=45 @@ -2195,22 +2200,22 @@ default)

+

-K4

-> foo.cgi?q=45 (original URL)

+

-K3

-> /folder/foo.cgi?q=45 (absolute URI)

@@ -2243,14 +2248,13 @@ default)

+ cols="3" cellspacing="0" cellpadding="0"> - - - - -
+

--get

<URLs> get the files indicated, do not seek other @@ -2258,11 +2262,10 @@ URLs (-qg)

+

--list

<text file> add all URL located in this text file @@ -2457,264 +2460,7 @@ prototypes

-

init : void (* myfunction)(void);

- - - - - -
-

free : void (* myfunction)(void);

- - - - - -
-

start : int (* myfunction)(httrackp* -opt);

- - - - - -
-

end : int (* myfunction)(void);

- - - - - -
-

change-options : int (* myfunction)(httrackp* -opt);

- - - - - -
-

preprocess-html : int (* myfunction)(char** html,int* -len,char* url

- - - - - -
-

adresse,char* url fichier);

-
- - - - - -
-

postprocess-html : int (* myfunction)(char** html,int* -len,char* url

- - - - - -
-

adresse,char* url fichier);

-
- - - - - -
-

check-html : int (* myfunction)(char* html,int -len,char* url

- - - - - -
-

adresse,char* url fichier);

-
- - - - - -
-

query : char* (* myfunction)(char* -question);

- - - - - -
-

query2 : char* (* myfunction)(char* -question);

- - - - - -
-

query3 : char* (* myfunction)(char* -question);

- - - - - -
-

loop : int (* myfunction)(lien

- - - - - -
-

back* back,int back max,int back index,int lien tot,int -lien ntot,int stat time,hts stat struct* stats);

-
- - - - - -
-

check-link : int (* myfunction)(char* adr,char* -fil,int status);

- - - - - -
-

pause : void (* myfunction)(char* -lockfile);

- - - - - -
-

save-file : void (* myfunction)(char* -file);

- - - - - -
-

save-file2 : void (* myfunction)(char* hostname,char* -filename,char* localfile,int is

- - - - - -
-

new,int is modified);

-
- - - - - -
-

link-detected : int (* myfunction)(char* -link);

- - - - - -
-

link-detected2 : int (* myfunction)(char* link, char* -start

- - - - - -
-

tag);

-
- - - - - -
-

transfer-status : int (* myfunction)(lien

- - - - - -
-

back* back);

-
- - - - - -
-

save-name : int (* myfunction)(char* adr

- - - - - -
-

complete,char* fil complete,char* referer adr,char* -referer fil,char* save);

-
- - - - - -
-

And <wrappername>

- - - - - +

see htsdefines.h

-

init() functions if defined, called upon plug

-

FILES

-- cgit v1.2.3