Chapter 4 - Syntax Summary
Using FTP Adapter Commands
Use the adapter commands from the Map Designer or Integration Flow Designer
as the data source of an input map card and as the data target for an output map
card. You can also use the adapter on the command line or in a map rule using
the functions
The FTP adapter requires the
GET > Source > Command and PUT > Target > Command settings.
See
Chapter 3 - FTP Commands
and their syntax. For general information about commands, refer to the
Adapters Reference
Examples
To retrieve the file mine.txt, located on the host computer (no port specified)
under c:\forms with no user name or password specified, enter the following
command:
-URL FTP://host/c:/forms/mine.txt
The command example would retrieve the entire contents of the forms directory
(because the file name is omitted) from the host computer:
-URL FTP://host/c:/forms/
URL Syntax
The syntax for the rest of the URL varies depending on the scheme selected. URL
schemes that involve the direct use of an IP-based protocol for a specified host on
the Internet use the following common syntax for scheme-specific data:
//user:password@host:port/url_path
Some or all parts of
be excluded. The scheme-specific data start with a double slash (
that it complies with the common Internet scheme syntax. The
component conforms to the following rules:
user
password
,
, or
.
GET
PUT
RUN
-URL
Guide.
user:password@
An optional user name. Some schemes allow the specification of a
user name.
An optional password. When present, it follows the user name and is
separated by a colon. The user name and password are followed by
F T P A d a p t e r R e f e r e n c e G u i d e
adapter command for the
for more information on FTP adapter commands
,
:password
3 1
Using FTP Adapter Commands
,
, and
:port
/url_path
) to indicate
//
user:password
Resource
may
Need help?
Do you have a question about the HP NonStop Data Transformation Engine FTP Adapter and is the answer not in the manual?
Questions and answers