understanding of what its limitations are, added a TODO item. Also made a minor
tweak in html.c to silence a warning.
+2000-10-09 Dan Harkless <dan-wget@dilvish.speed.net>
+
+ * TODO: --retr-symlinks should cause wget to traverse links to dirs too.
+
2000-09-25 Dan Harkless <dan-wget@dilvish.speed.net>
* TODO: Make wget return nonzero in situations like bad HTTP
items are not listed in any particular order. Not all of them represent
user-visible changes.
+* --retr-symlinks should cause wget to traverse links to directories too.
+
* Lots of noncompliant webservers issue HTTP redirects to relative URLs, and
browsers follow them, so wget should too.
+2000-10-09 Dan Harkless <dan-wget@dilvish.speed.net>
+
+ * wget.texi (FTP Options): --retr-symlinks wasn't documented properly.
+
2000-08-30 Dan Harkless <dan-wget@dilvish.speed.net>
* wget.texi (Recursive Retrieval Options): Documented new -p option.
\1f
Indirect:
wget.info-1: 961
-wget.info-2: 50095
-wget.info-3: 97019
+wget.info-2: 50884
+wget.info-3: 97808
\1f
Tag Table:
(Indirect)
Node: Directory Options\7f20659
Node: HTTP Options\7f23137
Node: FTP Options\7f27042
-Node: Recursive Retrieval Options\7f28235
-Node: Recursive Accept/Reject Options\7f32947
-Node: Recursive Retrieval\7f36173
-Node: Following Links\7f38471
-Node: Relative Links\7f39499
-Node: Host Checking\7f40013
-Node: Domain Acceptance\7f42038
-Node: All Hosts\7f43708
-Node: Types of Files\7f44135
-Node: Directory-Based Limits\7f46585
-Node: FTP Links\7f49225
-Node: Time-Stamping\7f50095
-Node: Time-Stamping Usage\7f51732
-Node: HTTP Time-Stamping Internals\7f53301
-Node: FTP Time-Stamping Internals\7f54771
-Node: Startup File\7f55979
-Node: Wgetrc Location\7f56852
-Node: Wgetrc Syntax\7f57667
-Node: Wgetrc Commands\7f58382
-Node: Sample Wgetrc\7f65910
-Node: Examples\7f70929
-Node: Simple Usage\7f71536
-Node: Advanced Usage\7f73930
-Node: Guru Usage\7f76681
-Node: Various\7f78343
-Node: Proxies\7f78867
-Node: Distribution\7f81632
-Node: Mailing List\7f81983
-Node: Reporting Bugs\7f82682
-Node: Portability\7f84467
-Node: Signals\7f85842
-Node: Appendices\7f86496
-Node: Robots\7f86911
-Node: Introduction to RES\7f88058
-Node: RES Format\7f89951
-Node: User-Agent Field\7f91055
-Node: Disallow Field\7f91819
-Node: Norobots Examples\7f92430
-Node: Security Considerations\7f93384
-Node: Contributors\7f94380
-Node: Copying\7f97019
-Node: Concept Index\7f116182
+Node: Recursive Retrieval Options\7f29024
+Node: Recursive Accept/Reject Options\7f33736
+Node: Recursive Retrieval\7f36962
+Node: Following Links\7f39260
+Node: Relative Links\7f40288
+Node: Host Checking\7f40802
+Node: Domain Acceptance\7f42827
+Node: All Hosts\7f44497
+Node: Types of Files\7f44924
+Node: Directory-Based Limits\7f47374
+Node: FTP Links\7f50014
+Node: Time-Stamping\7f50884
+Node: Time-Stamping Usage\7f52521
+Node: HTTP Time-Stamping Internals\7f54090
+Node: FTP Time-Stamping Internals\7f55560
+Node: Startup File\7f56768
+Node: Wgetrc Location\7f57641
+Node: Wgetrc Syntax\7f58456
+Node: Wgetrc Commands\7f59171
+Node: Sample Wgetrc\7f66699
+Node: Examples\7f71718
+Node: Simple Usage\7f72325
+Node: Advanced Usage\7f74719
+Node: Guru Usage\7f77470
+Node: Various\7f79132
+Node: Proxies\7f79656
+Node: Distribution\7f82421
+Node: Mailing List\7f82772
+Node: Reporting Bugs\7f83471
+Node: Portability\7f85256
+Node: Signals\7f86631
+Node: Appendices\7f87285
+Node: Robots\7f87700
+Node: Introduction to RES\7f88847
+Node: RES Format\7f90740
+Node: User-Agent Field\7f91844
+Node: Disallow Field\7f92608
+Node: Norobots Examples\7f93219
+Node: Security Considerations\7f94173
+Node: Contributors\7f95169
+Node: Copying\7f97808
+Node: Concept Index\7f116971
\1f
End Tag Table
===========
`--retr-symlinks'
- Retrieve symbolic links on FTP sites as if they were plain files,
- i.e. don't just create links locally.
+ Usually, when retrieving FTP directories recursively and a symbolic
+ link is encountered, the linked-to file is not downloaded.
+ Instead, a matching symbolic link is created on the local
+ filesystem. The pointed-to file will not be downloaded unless
+ this recursive retrieval would have encountered it separately and
+ downloaded it anyway.
+
+ When `--retr-symlinks' is specified, however, symbolic links are
+ traversed and the pointed-to files are retrieved. At this time,
+ this option does not cause wget to traverse symlinks to
+ directories and recurse through them, but in the future it should
+ be enhanced to do this.
+
+ Note that when retrieving a file (not a directory) because it was
+ specified on the commandline, rather than because it was recursed
+ to, this option has no effect. Symbolic links are always
+ traversed in this case.
`-g on/off'
`--glob=on/off'
* pause: Download Options.
* portability: Portability.
* proxies: Proxies.
-* proxy <1>: Download Options.
-* proxy: HTTP Options.
+* proxy <1>: HTTP Options.
+* proxy: Download Options.
* proxy authentication: HTTP Options.
* proxy filling: Recursive Retrieval Options.
* proxy password: HTTP Options.
* retries: Download Options.
* retries, waiting between: Download Options.
* retrieval tracing style: Download Options.
-* retrieve symbolic links: FTP Options.
* retrieving: Recursive Retrieval.
* robots: Robots.
* robots.txt: Robots.
* startup file: Startup File.
* suffixes, accept: Types of Files.
* suffixes, reject: Types of Files.
+* symbolic links, retrieving: FTP Options.
* syntax of options: Option Syntax.
* syntax of wgetrc: Wgetrc Syntax.
* tag-based recursive pruning: Recursive Accept/Reject Options.
@section FTP Options
@table @samp
-@cindex retrieve symbolic links
+@cindex symbolic links, retrieving
@item --retr-symlinks
-Retrieve symbolic links on @sc{ftp} sites as if they were plain files,
-i.e. don't just create links locally.
+Usually, when retrieving @sc{ftp} directories recursively and a symbolic
+link is encountered, the linked-to file is not downloaded. Instead, a
+matching symbolic link is created on the local filesystem. The
+pointed-to file will not be downloaded unless this recursive retrieval
+would have encountered it separately and downloaded it anyway.
+
+When @samp{--retr-symlinks} is specified, however, symbolic links are
+traversed and the pointed-to files are retrieved. At this time, this
+option does not cause wget to traverse symlinks to directories and
+recurse through them, but in the future it should be enhanced to do
+this.
+
+Note that when retrieving a file (not a directory) because it was
+specified on the commandline, rather than because it was recursed to,
+this option has no effect. Symbolic links are always traversed in this
+case.
@cindex globbing, toggle
@item -g on/off
msgid ""
msgstr ""
"Project-Id-Version: GNU wget 1.5.2-b1\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: 1998-06-05 08:47\n"
"Last-Translator: Jan Prikryl <prikryl@acm.org>\n"
"Language-Team: Czech <cs@li.org>\n"
# , fuzzy
#: src/main.c:172
+#, fuzzy
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
msgid ""
msgstr ""
"Project-Id-Version: wget 1.5.2-b4\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: 1998-06-15 19:25+02:00\n"
"Last-Translator: Karl Eichwalder <ke@suse.de>\n"
"Language-Team: German <de@li.org>\n"
"\n"
#: src/main.c:172
+#, fuzzy
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
msgid ""
msgstr ""
"Project-Id-Version: wget 1.5.2-b2\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: 1998-02-29 21:05+01:00\n"
"Last-Translator: Hrvoje Niksic <hniksic@srce.hr>\n"
"Language-Team: Croatian <hr-translation@bagan.srce.hr>\n"
"\n"
#: src/main.c:172
+#, fuzzy
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
msgid ""
msgstr ""
"Project-Id-Version: wget 1.5.2-b1\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: 1998-06-13 15:22+02:00\n"
"Last-Translator: Giovanni Bortolozzo <borto@dei.unipd.it>\n"
"Language-Team: Italian <it@li.org>\n"
"\n"
#: src/main.c:172
+#, fuzzy
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
msgid ""
msgstr ""
"Project-Id-Version: wget 1.5.2-b1\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: 1998-05-22 09:00+0100\n"
"Last-Translator: Robert Schmidt <rsc@vingmed.no>\n"
"Language-Team: Norwegian <no@li.org>\n"
"\n"
#: src/main.c:172
+#, fuzzy
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
msgid ""
msgstr ""
"Project-Id-Version: wget 1.5-b9\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: 1998-04-06 22:09-0300\n"
"Last-Translator: Wanderlei Antonio Cavasin <cavassin@conectiva.com.br>\n"
"Language-Team: Portuguese <pt@li.org>\n"
# , fuzzy
#: src/main.c:172
+#, fuzzy
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-08-30 03:32-0700\n"
+"POT-Creation-Date: 2000-10-09 15:38-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#: src/main.c:172
msgid ""
"FTP options:\n"
-" --retr-symlinks retrieve FTP symbolic links.\n"
+" --retr-symlinks when recursing, retrieve linked-to files (not "
+"dirs).\n"
" -g, --glob=on/off turn file name globbing on or off.\n"
" --passive-ftp use the \"passive\" transfer mode.\n"
"\n"
+2000-10-09 Dan Harkless <dan-wget@dilvish.speed.net>
+
+ * html.c (htmlfindurl): Added unneeded initialization to quiet warning.
+
+ * main.c (print_help): Clarified what --retr-symlinks does.
+
2000-08-30 Dan Harkless <dan-wget@dilvish.speed.net>
* ftp.c (ftp_retrieve_list): Use new INFINITE_RECURSION #define.
{
const char* link_href = NULL;
const char* link_rel = NULL;
- int link_href_saved_size;
+ int link_href_saved_size = 0; /* init. just to shut up warning */
if (!bufsize)
break;
-U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION.\n\
\n"), _("\
FTP options:\n\
- --retr-symlinks retrieve FTP symbolic links.\n\
+ --retr-symlinks when recursing, retrieve linked-to files (not dirs).\n\
-g, --glob=on/off turn file name globbing on or off.\n\
--passive-ftp use the \"passive\" transfer mode.\n\
\n"), _("\