net

Name

netid.exe -net - internal internet client to download or upload files

Synopsis

netid.exe -net [download -file <file> -url <url> -flags <flags>
    -username <username> -password <password>
    -certificate <thumbprint> -size <size>]|
    [upload -file <file> -url <url> -flags <flags>
    -username <username> -password <password>
    -certificate <thumbprint>]|
    [post -url <url> -headers|type <X> -content|file <X>]

Description

The net command is the internal internet client used to download or upload files. The implementation requires an external internet library exporting the same functions as Windows wininet library.

Currently, there are no other known internet library implementations than Windows. This functionality should be considered as Windows only, but you may configure when found. For more information, see Load .

[Load]
01=wininet,/usr/local/lib/myinet/libinet.so

Options

download

Download file from specified URL.

$ netid.exe -net -file <file> -url <url> -flags <flags> -username <username> -password <password> -certificate <thumbprint> -size <size>
-file <file>

 

-url <url>

 

-flags <flags>

 

-username <username>

 

-password <password>

 

-certificate <thumbprint>

 

-size <size>

 

upload

Upload file to specified URL.

$ netid.exe -net -file <file> -url <url> -flags <flags> -username <username> -password <password> -certificate <thumbprint>
-file <file>

 

-url <url>

 

-flags <flags>

 

-username <username>

 

-password <password>

 

-certificate <thumbprint>

 

post

$ netid.exe -net post -url <url> -headers|type <X> -content|file <X>
-url <url>

 

-headers|type <X>

 

-content|file <X>