Summary
-
is specified as file, URLs are read from the standard input.
(Use -
.)
- Assembly
- Cake
.Wget .dll - Namespace
- Cake
.Wget - Containing Type
- WgetSettings
Syntax
public string InputFile { get; set; }
Remarks
If this function is used, no URLs need be present on the command line.
If there are URLs both on the command line and in an input file, those on the command lines will be the first ones to be retrieved.
If ForceHtml
is not specified, then file should consist of a series of URLs, one per line.
However, if you specify ForceHtml
, the document will be regarded as html
.
In that case you may have problems with relative links, which you can solve either by adding
to the documents or by specifying Base
.
If the file is an external one, the document will be automatically treated as html
if the Content-Type matches text/html
. Furthermore, the file’s location will be implicitly used as base href if none was specified.
Attributes
Type | Description |
---|---|
Wget |
Value
Type | Description |
---|---|
string |