Hi Jakub! "But I get the same files as running this coomand without using user-agent string."
What is wrong with the files you get? Do you not get all the files? Many servers (sites) do not make a difference what user-agent accesses them. So the files will not differ. If you know that you don't get all the files (or the wrong ones), it maybe that you should ignore robots by the wgetrc command robots = on/off or you need a special referrer if you want to start in the "middle" of the site. CU Jens " (Jakub Grosman)" wrote: > > Hi all, > I am using wget a long time ago and it is realy great utility. > I run wget 1.8.22 on redhat 7.3 and my problem is concerning the user agent > string. > I run this command: > wget -m --user-agent="Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)" -l0 -H > -Dsite -nd -np -Pdirectory http://site > > But I get the same files as running this coomand without using user-agent > string. > Could someone explain me, what I am making not correct? > > Thanks > Jakub
