Specifying a URI or Path - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software

Many of the commands use the argument < path >, which represents a Uniform Resource Identifier (URI) for a file or directory. A URI or path, has the form:

<protocol>://[<host>[:<host_port>]]/<path>

Some valid URI examples for < path >are:

  • adfs://aster-afs/file2 Specifies a file in the root directory of the user in AFS.
  • adfs:///file2 Specifies a file in the root directory of the user in AFS.
  • adfs:///user/mydirectory Specifies a directory in AFS.
  • file:///myimage.gif Specifies a file on the local file system.
  • /user/content.json Specifies a file in the /user directory (adfs is implied).

If a protocol is not specified adfs is implied and a URI is expected. For local files, and where a local file is not the only option allowed, the protocol must be specified as file://. If a URI is supplied, and a host/port pair is not provided, ACT assumes that the client is connecting to a service running on the Aster Database queen that was specified when ACT was invoked.