RhinoBoy
03-12-2002, 10:43 AM
I just installed wget 1.8.1 and have had a terrible time configuring it. Most importantly I can't get the Accept command line switch or the .wgetrc "action" setting to work.
It seems to work with a single file suffix like html. When I add more suffixes, it downloads the file and then deletes it because it was rejected. I have tried all permutations I can think of:
-A html,htm,jpg,gif
-A .html,.htm,.jpg,.gif
-A “html,htm,jpg,gif”
-A ‘html,htm,jpg,gif’
-A “html”,”htm”,”jpg”,”gif”
-A ‘html’,’htm’,’jpg’,’gif’
etc., etc., etc
I also tried putting these in .wgetrc with the same result. BTW, I tried creating the .wgetrc file with BBEdit and wget never accessed it as far as I can tell (is there a way to tell?). I then copied the wgetrc file installed with wget and edited it with BBEdit and that worked. Is this a file/creator type issue?
Anyway, HELP. What am I missing here? I think wget holds the greatest promise for me for the way I like to download and read off line.
TIA, Dan
It seems to work with a single file suffix like html. When I add more suffixes, it downloads the file and then deletes it because it was rejected. I have tried all permutations I can think of:
-A html,htm,jpg,gif
-A .html,.htm,.jpg,.gif
-A “html,htm,jpg,gif”
-A ‘html,htm,jpg,gif’
-A “html”,”htm”,”jpg”,”gif”
-A ‘html’,’htm’,’jpg’,’gif’
etc., etc., etc
I also tried putting these in .wgetrc with the same result. BTW, I tried creating the .wgetrc file with BBEdit and wget never accessed it as far as I can tell (is there a way to tell?). I then copied the wgetrc file installed with wget and edited it with BBEdit and that worked. Is this a file/creator type issue?
Anyway, HELP. What am I missing here? I think wget holds the greatest promise for me for the way I like to download and read off line.
TIA, Dan