Make Directory (-Mkd); Passive Mode (-Pv Or -Pasv); Port Mode (-Pt Or -Port) - HP NonStop Data Transformation Engine FTP Adapter Reference Manual

Ftp adapter
Table of Contents

Advertisement

Chapter 3 - FTP Commands

Make Directory (-MKD)

Use the Make Directory adapter command (-
example, if a file specified in a
exist, the
–MKD
If the
command is not specified and the file specified on a
–MKD
points to a directory that does not exist, the adapter will fail.
This is an optional command.
-MKD
For example:
PUT("FTP", "-URL ftp://jdoe:secret@server1/some/folder/data.txt
-MKD", "Some data")
will force jdoe/some and then the jdoe/some/folder to be created. A new file
called data.txt will be added to this new directory.

Passive Mode (-PV or -PASV)

The Passive Mode adapter command (
passive mode for the FTP data connection. Passive mode is primarily useful for
firewalls and is a preferred connection method for security reasons.
By default, the adapter attempts to connect using passive mode. If unsuccessful,
the adapter uses Port Mode; see the Port Mode adapter command (
passive mode connection, the server listens for the connection and dictates where
the adapter is to connect.
-PASV
Note
Older servers might not support passive mode.

Port Mode (-PT or -PORT)

The Port Mode adapter command (
mode for the FTP data connection. This is an older connection method and may be
the only way to connect on older servers.
PUT
command creates the new directory.
F T P A d a p t e r R e f e r e n c e G u i d e
) to create a directory. For
MKD
operation belongs in a directory that does not
or
) specifies that you only try
-PV
-PASV
or
) specifies that you only try port
-PT
-PORT
2 3
List of Commands
operation
PUT
). During a
-PT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nonstop transformation engine

Table of Contents