Multitech MultiConnect Adapter Guía de usuario Pagina 119

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 154
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 118
Chapter 12 – FTP Client
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 119
Chapter 12 – FTP Client
Introduction
The FTP Client is used to establish a TCP session to the FTP server running on port 21. This chapter covers the FTP
Client features and provides you with ten FTP Client scenarios.
FTP Client Features
Supports automatic authentication to the FTP server depending on the configuration.
Supports listing the contents of the specified directory of the FTP server.
Supports active and passive modes of data transfer.
Supports sending files from the host/serial device to the FTP server.
Supports receiving files from the FTP server to the host/serial device.
Command to List Directory Contents or to
Send/Receive Files
The host/serial device can use the following command to list the contents of the directory or to send/ receive
text/binary files to/from a remote server depending upon the requirement.
Syntax
ftp < [-l [-d <directory>]]
[-t [-d <directory>] [-n <filename>] [-s <filesize>]]
[-a [-d <directory>] [-n <filename>] [-s <filesize>]]
[-r [-d <directory>] [-n <filename>]] >
[-p] [-m] <ip-address/host-name>
-l : Requests the directory and lists the contents of the specified directory in the server.
-t : Requests the filename and file size to be transmitted and reads the data from the host device
and transmits to the server.
-a : Requests the filename and file size to be appended and reads the data from the host device and
transmits to the server.
-r : Requests the remote filename to be received. It informs the host device about the size of the file
and retrieves the data from the server when serial device is ready.
-p : Opens the Data connection in Passive mode. (If this option is not given, the data connection will
be opened in Active mode by default).
-m : '-m' is added along with the required transaction option (transfer, receive or append) to the FTP
command to get into the multiple transaction session. Once the file transaction is over, the user
is prompted for the next transaction or to quit. So the user can transfer as many files in a single
FTP session before quitting. The '-m' option is optional.
The FTP command will prompt for the details required if these details were not configured previously.
Important:
1. The user must have access permission to perform the above functionality.
2. FTP Client cannot be accessed through a Telnet session.
3. By default, the data connection is in active mode. This can be optionally changed to passive mode by
using the -p option in the command.
4. By default, the Format control is set to NON_PRINT, the structure type is set to FILE, and the
Transmission mode is set to STREAM mode in the client.
5. The file transfer can be done only if the server supports BINARY/IMAGE data type.
6. The file can be received only if the server supports SIZE command.
7. Multiple transactions are limited to the one specific type of transaction; i.e., the user can send multiple
files in one session or receive multiple files in one session, but cannot send and receive in the same
session.
Vista de pagina 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 153 154

Comentarios a estos manuales

Sin comentarios