URL Options

Help Contents

Introduction

Some SCADA applications need to access files using a URL. For example:

URL Options allow you to configure how a file is transferred to a URL.

Where URL Options are Used

Fernhill SCADA uses URL Options in these areas:

Supported URL Options

These URL options are supported:

URL OptionDescription
--anyauth Allow any HTTP authentication method.
--append When uploading a file to a URL, the new content is appended to the existing file.
--basic Allow HTTP basic authentication method.
--ciphers <list> Set the list of ciphers to use with a secure connection.
--connect-timeout <Time> Set the maximum time allowed for the connection in seconds.
--crlf When uploading, convert a line feed to a line feed and carriage return combination.
--digest Allow HTTP digest authentication method.
--disallow-username-in-url Fail the transfer is a user name is used in the URL.
--ftp-port <Address> Use PORT mode in FTP transfers instead of PASV.
--ftp-pret Send an FTP PRE Transfer command (PRET) before sending the file with PASV.
--mail-auth <Address> The originator address of the email. If used multiple times, the last <Address> is used.
--mail-from <Address> The email is sent from this address. If used multiple times, the last <Address> is used.
--mail-rcpt <Address> Set a recipient address for the email. Use once for each recipient.
--max-time <Time> Set the maximum time allowed for the transfer in seconds.
--negotiate Allow HTTP negotiate authentication method.
--ntlm Allow HTTP ntlm authentication method.
--ntlm-wb Allow HTTP ntlm authentication method with WINBIND.
--oauth2-bearer <Token> Set the Oauth2 bearer token.
--path-as-is Do not remove any back references '..' in the path.
--post301 Use POST after receiving an HTTP 301 redirect.
--post302 Use POST after receiving an HTTP 302 redirect.
--post303 Use POST after receiving an HTTP 303 redirect.
--proto-default <Protocol> Set the default protocol to use (FTP, HTTP, SMTP, and so on) when the protocol not set in the URL.
--proxy <Address> Set the address of the proxy server.
--tcp-fastopen Speed up following TCP connections using the TCP Fast Open option.
--tftp-no-options Do not send any options in TFTP transfers.

Examples

  1. --max-time 30

    Allow no more than 30 seconds for the transfer.

  2. --proxy http://userproxy:8080/

    Route requests through a proxy server.

Further Information

Fernhill SCADA Concepts

To learn about other Fernhill SCADA Concepts.

Glossary

For the meaning of terms used in Fernhill SCADA.