wget problems, asp, vars

2002-11-08 Thread myrn
I'm trying to get the following site: http://overlord.hig.se/schema/schemav8.asp?KI=3DV20BKT=245+KN=Algoritmer+och+datastrukturer+B; I've tried real hard but failed. Can someone more experienced help me with this please. The site is an asp site that fetches information from some database when

Re: wget and asp

2002-09-13 Thread Max Bowsher
Try the source I sent you. Dominique wrote: thank you Max, np Is it different than the one I CVS-ed yesterday? I mean, does it have changes in creating filenames? Please note, that I finally compiled it and could run it. No changes... I did run autoconf, so you could go straight to

Re: wget and asp

2002-09-13 Thread Dominique
No changes... I did run autoconf, so you could go straight to configure (as you have too new an autoconf version). it compiled just fine now Something has just occurred to me: by default, wget defaults to recursion resticted to 5 levels. Perhaps that is the problem? If so, an -l0 will fix it.

Re: wget and asp

2002-09-12 Thread Dominique
The problem is that with a ?x=y, where y contains slashes, wget passes them unchanged to the OS, causing directories to be created, but fails to adjyst relative links to account for the fact that the page is in a deeper directory that it should be. The solution is to map / to _ or something.

Re: wget and asp

2002-09-12 Thread Max Bowsher
Max Bowsher wrote: The problem is that with a ?x=y, where y contains slashes, wget passes them unchanged to the OS, causing directories to be created, but fails to adjyst relative links to account for the fact that the page is in a deeper directory that it should be. The solution is to map /

Re: wget and asp

2002-09-11 Thread Thomas Lussnig
To invoke html examples they use calls like (just the first example): http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic What filename did you expect for this ? - tryit.asp - tryit.asp?filename=tryhtml_basic - tryhtml_basic Wget saves a file and a directory with this very

Re: wget and asp

2002-09-11 Thread Dominique
What filename did you expect for this ? - tryit.asp - tryit.asp?filename=tryhtml_basic - tryhtml_basic Once again: the loaction is: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic It is a frame set which requires frames. One of them is a problem, because it has special

Re: wget and asp

2002-09-11 Thread Max Bowsher
Dominique wrote: tryit_edit.asp?filename=tryhtml_basicreferer=http://www.w3schools.com/html/html _examples.asp and just this one is truncated. I think some regexp or pattern or explicit list of where_not_to_break_a_string characters would solve the problem. Or maybe it is already possible,

Re: wget and asp

2002-09-11 Thread Dominique
Is it something I can do myself or the code has to be changed? Domi I think that some URL encoding has not happened somewhere. Whether wget or the web server is at fault, I don't know, but the solution would be to URL encode the slashes. Max.

Re: wget and asp

2002-09-11 Thread Thomas Lussnig
tryit_edit.asp?filename=tryhtml_basicreferer=http://www.w3schools.com/html/html _examples.asp and just this one is truncated. I think some regexp or pattern or explicit list of where_not_to_break_a_string characters would solve the problem. Or maybe it is already possible, but I dont know

Re: wget and asp

2002-09-11 Thread Max Bowsher
Thomas Lussnig wrote: Why should be there an url encoding ? / are an legal character in url and in the GET string. Ist used for example for Path2Query translation. The main problem is that wget need to translate an URL to and Filesystem name. Yes, you are right, I wasn't think clearly.

Re: wget and asp

2002-09-10 Thread Max Bowsher
You don't give a whole lot of information. It's kind of impossible to help when you don't know what the problem is. Posting the URL of the problem site would be a good idea. Max. Dominique wrote: Is it possible at all? dominique Dominique wrote: Hi, I have a problem trying to wget a

Re: wget and asp

2002-09-10 Thread Dominique
Posting the URL of the problem site would be a good idea. well, I have quite a few. let's start with this: http://www.w3schools.com/html/default.asp or just anything from such a page page. I hacked around for a while with no apparent success. thanks dominique Max. Dominique wrote:

Re: wget and asp

2002-09-10 Thread Thomas Lussnig
Dominique wrote: Posting the URL of the problem site would be a good idea. well, I have quite a few. let's start with this: http://www.w3schools.com/html/default.asp or just anything from such a page page. I hacked around for a while with no apparent success. Try this and it

Re: wget and asp

2002-09-10 Thread Dominique
Yes! It works!! I just missed -U option thanks a lot! dominique Thomas Lussnig wrote: Try this and it works !!! wget -U Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1) http://www.w3schools.com/html/default.asp Problem is that these site Block wget Cu Thomas Lunig

wget and asp

2002-09-07 Thread Dominique
Hi, I have a problem trying to wget a site for off-line usage. The site is made in asp and uses lots of stuff like: xxx.asp?filename=yyy when I download a sample asp page it seems to be almost empty and have no links!!! I dont understand... I tried mirroring, html extensions and all I could