]> sjero.net Git - wget/blobdiff - doc/wget.info-1
[svn] Damir Dzeko <ddzeko@zesoi.fer.hr> did not document his new --referer option.
[wget] / doc / wget.info-1
index 28f9c64089907ee5ee878cd84b70b1573facc1b0..74dd5a1fa2197ce17527589e11a87008834eb1a5 100644 (file)
@@ -604,6 +604,13 @@ HTTP Options
      on a proxy server.  Wget will encode them using the `basic'
      authentication scheme.
 
+`--referer=URL'
+     Include `Referer: URL' header in HTTP request.  Useful for
+     retrieving documents with server-side processing that assume they
+     are always being retrieved by interactive web browsers and only
+     come out properly when Referer is set to one of the pages that
+     point to them.
+
 `-s'
 `--save-headers'
      Save the headers sent by the HTTP server to the file, preceding the
@@ -1247,30 +1254,3 @@ if it's been converted by `--convert-links' (`-k').
 header, and compare the sizes; if they are not the same, the remote
 file will be downloaded no matter what the time-stamp says.
 
-\1f
-File: wget.info,  Node: FTP Time-Stamping Internals,  Prev: HTTP Time-Stamping Internals,  Up: Time-Stamping
-
-FTP Time-Stamping Internals
-===========================
-
-   In theory, FTP time-stamping works much the same as HTTP, only FTP
-has no headers--time-stamps must be received from the directory
-listings.
-
-   For each directory files must be retrieved from, Wget will use the
-`LIST' command to get the listing.  It will try to analyze the listing,
-assuming that it is a Unix `ls -l' listing, and extract the
-time-stamps.  The rest is exactly the same as for HTTP.
-
-   Assumption that every directory listing is a Unix-style listing may
-sound extremely constraining, but in practice it is not, as many
-non-Unix FTP servers use the Unixoid listing format because most (all?)
-of the clients understand it.  Bear in mind that RFC959 defines no
-standard way to get a file list, let alone the time-stamps.  We can
-only hope that a future standard will define this.
-
-   Another non-standard solution includes the use of `MDTM' command
-that is supported by some FTP servers (including the popular
-`wu-ftpd'), which returns the exact time of the specified file.  Wget
-may support this command in the future.
-