Rob van der Woude's Scripting Pages

Help text for WGetLite.cs

(view help text of WGetLite.cs as plain text)

WGetLite,  Version 1.01
Get web content (text only)

Usage:  WGETLITE  url  [ /Response | /Save:filename ]  [ /Encoding:encoding ]

Where:  /Response returns server response code only
        /Save     saves downloaded content to specified file
        /Encoding specifies encoding of url; accepted values are:
                  ASCII, Unicode, Unicode (BE), UTF-7, UTF-8, UTF-32

Notes:  On errors the actual HTTP response code is returned as 'errorlevel'.
        Usually specifying the encoding won't be necessary.
        Switches may be abbreviated, e.g. /E:U8 instead of /Encoding:UTF-8.
        Based on a blog post by Sugree Phatanapherom:

Written by Rob van der Woude

page last uploaded: 2022-10-05