Kommandozeilenparameter richtig setzen ?

OP #3574860
Lesenswert?

hallo,
hab hier dieses tool download.exe in nutzung, und es funzt auch.
ganz oben, file downloader http://noeld.com/programs.asp?cat=misc
nur hab ich probleme den parameter /display mit seinem <level> zu 
setzen.
ich raff das nicht.. kommt immer nur:
Invalid parameter value(s):
        /display (expected: none,normal,progress)
probiert habe ich:
/display:none
/display none
/display [none]
/display (none)
/display none text


die beschreibung sieht folgendes vor:
Usage:

  download [<source>] [<login> <password>] [/batch] [/cookies]
        [/credentials <auth>] [/delete] [/display [<level> [<mode>]]] 
[/move]
        [/newest] [/nocerterror] [/noredirect] [/notime] [/output 
<path>]
        [/overwrite] [/passive] [/post] [/proxy [<address> [<port>]]]
        [/referer <url>] [/register] [/resume] [/stop] [/subdir]
        [/timeout <delay>] [/unescape] [/update <condition>]
        [/useragent:<agent>] [/?]

Where:

  <source>     Fully qualified URL to the resource to download.
               - or -
               Fully or partially qualified path to a text file that 
holds a
               list of commands to process, if /batch parameter is 
specified.
  <login>      [optional] Clear-text credentials used to log on to the 
server.
  <password>

Optional parameters:

  /batch       Processes all the commands listed in the specified source 
file.
  /cookies     Enables cookies support, may be required for 
authentication.
  /credentials Encrypted login and password (bypass clear-text 
credentials).
                Credentials apply to proxy if specified after /proxy 
parameter.
                <auth> is either the path to the encrypted credential 
file
                (see logenc.exe module)
               - or -
                "login,password" in clear-text.
  /delete      Deletes local file if a download fails.
  /display     Sets the level of information that will be displayed and
                optionally the translation mode.
                <level> is either of the following values:
                 none     - no display at all.
                 progress - displays progression only.
                 normal   - standard display (default).
                <mode> is either of the following translation modes:
                 text     - default output.
                 unicode  - UTF-16 output.
                 utf8     - UTF-8 output.
  /move        Downloads the file then deletes it on the server (FTP).
  /newest      Only downloads newest file matching the wildcard (FTP).
  /noredirect  Only displays Location, the redirection is not executed.
  /nocerterror Ignores invalid certificate errors (HTTPS).
  /notime      Ignore file time on server (overrides /update and 
/newest).
  /output      Specifies a destination path and/or filename.
  /overwrite   Overwrites the output file if it already exists.
  /passive     Uses passive FTP semantics.
  /post        Uses POST (instead of GET) as HTTP verb.
  /proxy       Connects through a proxy.
                <address> is either the host name or the IP address of 
the
                 proxy (Internet Explorer settings are used if not 
specified).
  /referer     Specifies a referer URL.
  /register    Opens the registration site in the default browser.
  /resume      Attempts a resume if the file was already partially 
downloaded.
  /stop        Stops on first error (wildcards/FTP only).
  /subdir      Downloads files from sub-folders as well (FTP).
  /timeout     Specifies the timeout in seconds (default: 0, no 
timeout).
  /unescape    Converts escape characters (%%xy) in the destination 
filename.
  /update      Only downloads if local file meet the condition.
                <condition> is either of the following values:
                 date - checks whether local file is older.
                 size - checks whether file sizes are different.
                 both - checks both file dates and sizes (default).
  /useragent   Overrides the default user-agent string with the 
specified one.
  /utf8        Enables UTF-8 support (FTP).
  /?           Displays this help message.
Persönliche Seite #3578238
Lesenswert?

Sebastian Hepp schrieb:
> Vor dem mode muss ein level angegeben werden. Also z.B. /display 1 none

Das widerspricht dem hier:
1
  /display     Sets the level of information that will be displayed and
2
                optionally the translation mode.
3
                <level> is either of the following values:
4
                 none     - no display at all.
5
                 progress - displays progression only.
6
                 normal   - standard display (default).
7
                <mode> is either of the following translation modes:
8
                 text     - default output.
9
                 unicode  - UTF-16 output.
10
                 utf8     - UTF-8 output.
Gast #3580567
Lesenswert?

danke mal an alle.. :prost:
wo, an welcher stelle, der parameter "sitzen" muss, hab ich auch 
probiert..
egal wie, er meckert ja rum, das der level fehlt.. daher scheint ja der 
parameter zumindest angekommen zu sein.
ist möglicherweise nen bug.. werd' den autor mal anfunken..

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren