|
Hi!
I use the latest version of httrack, version "3.42-2-nossl".
I am trying to use a batch file which should download media files from a site
given as parameter. (Windows XP, where the maximum command line length is 8191
bytes)
The content of my batch file is:
httrack.exe %1 -O %1 -i -%%A
htm,html,sgml,jar,class,css,php3,php,php4,php2,cgi,asp,jsp,pl,cfm=text/html
-r8 -A150000 -%%c5 -c4 -T60 -R2 -J1000 -H3 -n -N5 -o0 -X0 -s0 -%%k -%%B -%%s
-%%u -%%n -%%v -f2 -%%i0 -%%I0 -D -* +*.jpg "-*.jpg[<10]" +*.jpeg
"-*.jpeg[<10]" +*.png "-*.png[<10]" -*.tn* -*.th_* -*.th-* -*tmb* -*thum*
-*nail* -*thm* -*thb* -*.sm* -*.bm* -*._* -*tn.* -*tm.* -*th.* -*sm.* -*_.*
-*ban* -*_t-* -*adimage* -*small* -*index* -*idx* -*tump* -*icon* -*h150*
-*w180* +*.mov +*.mpg +*.mpeg +*.avi +*.asf +*.rm +*.vob +*.qt +*.vid +*.wma
+*.wmv +%1/*.htm +%1/*.html +%1/*.sgml +%1/*.jar +%1/*.class +%1/*.css
+%1/*.php3 +%1/*.php +%1/*.php4 +%1/*.php2 +%1/*.cgi +%1/*.asp +%1/*.jsp
+%1/*.pl %2 %3 %4 %5 %6 %7 %8 %9
None of my attemts limit the size of jpg-files; all jpegs are being downloaded
regardless of their size.
Instead of
+*.jpg "-*.jpg[<10]"
i also tried arguments like
"+*.jpg[>10]"
Then no jpg-files were downloaded.
I see that at
<http://forum.httrack.com/readmsg/5552/5517/index.html>
another one had the same problem in 2003 which should be solved by updating to
another old version...
Is it me or is it httrack who is doing something wrong? :-)
-----
And:
The formatting of the size when using parameters like -%v or -%v1 is bogus
here:
<http://666kb.com/i/azjnm9qxzd3jucf6y.png>
I also tried it with ansi.sys loaded; no change.
At <http://forum.httrack.com/readmsg/6063/index.html> i see again that another
one had this problem also in 2003, and that this problem also ought to be
fixed with prior releases; but i have the same problems with the latest
version...
Any suggestions?
Thanks in advance for any help :-)
| |