
Chapter 3 - FTP Commands | List of Commands |
Make Directory (-MKD)
Use the Make Directory adapter command
If the
This is an optional command.
-MKD
For example:
PUT(“FTP”,
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.
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.
F T P A d a p t e r R e f e r e n c e G u i d e
2 3