Hello Micah, Am 2008-09-02 15:49:15, schrieb Micah Cowan: > I think I'd need some convincing on this, as well as a clear definition > of what the scope for such a feature ought to be. Unlike curl, which > "groks urls", Wget "W(eb)-gets", and file:// can't really be argued to > be part of the web.
Right but... > That in and of itself isn't really a reason not to support it, but my > real misgivings have to do with the existence of various excellent tools > that already do local-file transfers, and likely do it _much_ better > than Wget could hope to. Rsync springs readily to mind. > > Even the system "cp" command is likely to handle things much better than > Wget. In particular, special OS-specific, extended file attributes, > extended permissions and the like, are among the things that existing > system tools probably handle quite well, and that Wget is unlikely to. I > don't really want Wget to be in the business of duplicating the system > "cp" command, but I might conceivably not mind "file://" support if it > means simple _content_ transfer, and not actual file duplication. > > Also in need of addressing is what "recursion" should mean for file://. > Between ftp:// and http://, "recursion" currently means different > things. In FTP, it means "traverse the file hierarchy recursively", > whereas in HTTP it means "traverse links recursively". I'm guessing > file:// should work like FTP (i.e., recurse when the path is a > directory, ignore HTML-ness), but anyway this is something that'd need > answering. Imagine you have a local mirror of your website and you want to know why the site @HOSTINGPROVIDER has some files more or such. You can spider the website @HOSTINGPROVIDER recursiv in a local "tmp1" directory and then, with the same commandline, you can do the same with the local mirror and "download" the files recursive into "tmp2" and now you and now you can make a recursive fs-diff and know which files are used... on both, the local mirror and @HOSTINGPROVIDER I was searching such feature several times and currently the only way is to install a Webserver local which not always possibel. Maybe this is a discussion worth? Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/
Description: Digital signature