Using URIs as
Locators
It is possible to specify file locations as
a URI by prefixing the path with
file://
, as shown in the
following examples:
file://c:\folder1\folder2\package.ovf (Absolute, Windows) file:///folder1/folder2/package.ovf (Absolute, Linux) file://package.ovf (Relative for both Windows and Linux)
Encoding Special
Characters in URL Locators
When you use URIs as locators, you must escape
special characters using % followed by their ASCII hex value. For instance, if
you use a “@” in your password, it must be escaped with %40 as in
vi://foo:b%40r@hostname, and a slash in a Windows domain name (\) can be
specified as %5c.
HTTP, HTTPS, and FTP
Locators
You can use HTTP, HTTPS, and FTP to refer to an
OVF package (OVF or OVA file) on a Web server. You can only use these protocols
to specify a source locator. In the following syntax,
protocol
is HTTP, HTTPS or
FTP:
protocol://username:password@host:port/<path to OVF
package>
It is possible to omit the user name and
password from the locator. If needed, OVF Tool prompts you for them. If you use
the standard port, it is not necessary to specify the port.
Table 1
shows the standard ports.
Protocol
| Port
|
---|---|
HTTP
| 80
|
HTTPS
| 443
|
FTP
| 21
|