Hello. This bug with ~ and %7E is starting to be very, very annoying. Somebody should check it immediately. The problem was that wget interprets urls such as www.site.edu/~user/ and www.site.edu/%7Euser/ as different directory paths. With -np option wget does not get all pages.
It is unknown to me why ~ and %7E appears in the same site, but it happens too often. A temporary solution is to download both with ~ and with %7E but if I understand correctly some files may stay undownloaded. I checked the wget source code but did not understand much about the logic there. Anyone? Where is the true problem? Are webservers making difference between ~ and %7E? Or is it only wget? Eventually, I want that wget saves only %7E to my local disk; where in the code I could tell that? Juhana