> so you think it's acceptable behaviour for the web designer to create his > directory hierarchy on your pc *without* you asking him to do so?
Yes, because I do ask the web designer to do so by setting dirstruct=on. Otherwise files go into the current directory. If you give wget a directory to fetch, it creates the filename index.html and fetches that. It follows redirects (it has to), and so far hasn't surprised me when creating filenames to save things in. It even keeps the "?" and "&" and the like in http scripting URLs. That's all for http. For ftp, wget fetches the file given, you can't download a directory unless you enable recursion (and then wget needs to be able to parse the ls output of the ftp server - don't count on it). Same deal with dirctruct applies. > and it's ok to get foobar.exe when you ask for something else? That's part of the http game, not wget's fault. Good or bad, you decide. > wget's main function is to be used in scripting, as in Nick's original > example It's also a mirroring tool. If you don't like what you're getting, use -O. Sorry but I don't see the problem, unless wget 1.10 (to which SuSE upgraded me a few days ago) is different than previous versions. Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
