]> sjero.net Git - wget/blob - TODO
[svn] TODO: Make wget return nonzero in situations like bad HTTP auth.
[wget] / TODO
1                                  Hey Emacs, this is -*- outline -*- mode
2
3 This is the to-do list for Wget.  There is no timetable of when we plan to
4 implement these features -- this is just a list of things it'd be nice to see in
5 Wget.  Patches to implement any of these items would be gladly accepted.  The
6 items are not listed in any particular order.  Not all of them represent
7 user-visible changes.
8
9 * Make wget return non-zero status in more situations, like incorrect HTTP auth.
10
11 * Timestamps are sometimes not copied over on files retrieved by FTP.
12
13 * Wget does not currently handle "fragment identifiers" (the part of a URL 
14   starting with the '#' character) properly.
15
16 * Make -K compare X.orig to X and move the former on top of the latter if 
17   they're the same, rather than leaving identical .orig files laying around.
18
19 * Add an option to save all text/html files with a .html extension so that when
20   grabbing the output of a dynamically-generated remote page, you'll end up with
21   a filename that will cause _your_ webserver to realize the saved static HTML
22   file isn't text/plain (or an illegal CGI script in the case of *.cgi).
23
24 * Allow mirroring of FTP URLs where logging in puts you somewhere else besides 
25   '/'. 
26
27 * Make `-k' convert <base href=...> too.
28
29 * Make `-k' check for files that were downloaded in the past and convert links 
30   to them in newly-downloaded documents.
31
32 * -k should convert convert relative references to absolute if not downloaded.
33
34 * -k should convert "hostless absolute" URLs, like <A HREF="/index.html">.
35   However, Brian McMahon <bm@iucr.org> wants the old incorrect behavior to still
36   be available as an option, as he depends on it to allow mirrors of his site to
37   send CGI queries to his original site, but still get graphics off of the
38   mirror site.  Perhaps this would be better dealt with by adding an option to
39   tell -k not to convert certain URL patterns?
40
41 * Add option to clobber existing file names (no `.N' suffixes).
42
43 * Introduce a concept of "boolean" options.  For instance, every
44   boolean option `--foo' would have a `--no-foo' equivalent for
45   turning it off.  Get rid of `--foo=no' stuff.  Short options would
46   be handled as `-x' vs. `-nx'.
47
48 * Implement "thermometer" display (not all that hard; use an
49   alternative show_progress() if the output goes to a terminal.)
50
51 * Add option to only list wildcard matches without doing the download.
52
53 * Add case-insensitivity as an option.
54
55 * Handle MIME types correctly.  There should be an option to (not)
56   retrieve files based on MIME types, e.g. `--accept-types=image/*'.
57
58 * Implement "persistent" retrieving.  In "persistent" mode Wget should
59   treat most of the errors as transient.
60
61 * Allow time-stamping by arbitrary date.
62
63 * Fix Unix directory parser to allow for spaces in file names.
64
65 * Allow size limit to files.
66
67 * Recognize HTML comments correctly.  Add more options for handling
68   bogus HTML found all over the 'net.
69
70 * Implement breadth-first retrieval.
71
72 * Download to .in* when mirroring.
73
74 * Add an option to delete or move no-longer-existent files when
75   mirroring.
76
77 * Implement a switch to avoid downloading multiple files (e.g. x and
78   x.gz).
79
80 * Implement uploading (--upload URL?) in FTP and HTTP.
81
82 * Rewrite FTP code to allow for easy addition of new commands.  It
83   should probably be coded as a simple DFA engine.
84
85 * Recognize more FTP servers (VMS).
86
87 * Make HTTP timestamping use If-Modified-Since facility.
88
89 * Implement better spider options.
90
91 * Add more protocols (e.g. gopher and news), implementing them in a
92   modular fashion.
93
94 * Implement a concept of "packages" a la mirror.
95
96 * Implement correct RFC1808 URL parsing.
97
98 * Implement HTTP cookies.
99
100 * Implement more HTTP/1.1 bells and whistles (ETag, Content-MD5 etc.)
101
102 * Support SSL encryption through SSLeay or OpenSSL.