
Chapter 4 – FTP AT Commands
30 Universal IP AT Commands Reference Guide
Use these AT commands with any Universal IP device.
Set Commands
#FTPPORT – Enter FTP Server Port
Description: To reach the FTP server, the TCP/IP stack software must know the control port of the FTP server
used for file transfer.
Note: This parameter should be changed only upon request of your network administrator
since it applies to network infrastructure including firewalls, proxy or specific TCP port
translation.
Syntax: AT#FTPPORT=<value>
AT#FTPPORT? Read or display the current setting (or AT#VFTP, AT#VALL).
Values: From 1 to 5 digits (each digit between 0 and 9 inclusive).
Numbers above 65,535 are illegal as port identification fields are 16 bits long in the TCP header.
Default: 21
#FTPMODE – Enter FTP Mode
Description: Define the FTP behavior for file transfer.
Syntax: AT#FTPMODE=<value>
AT#FTPMODE? Read or display the current setting (or AT#VFTP, AT#VALL).
Values: 0 – FTP Active Mode
1 – FTP Passive Mode
Default: 0
#FTPTYPE – Specify Data Type
Description: Before transferring files from a specified FTP server, the TCP/IP stack software must specify the
type of data to be transferred within the FTP session.
Syntax: AT#FTPTYPE="<value>"
AT#FTPTYPE? Read or display the current setting (or AT#VFTP, AT#VALL).
Values: A – FTP ASCII sessions (Not all products support this option)
I – FTP Binary sessions.
Note: When this value is set to A, data sent by the TCP/IP stack to the FTP server is made of 7
bits characters (NVT-ASCII: the MSB is set to 0). As a result, binary data containing 8 bits
characters will be corrupted during the transfer if the FTPTYPE is set to A.
Default: I
#FTPSERV – Specify FTP Server Address
Description: FTP server address. To connect to an FTP server to download files, the TCP/IP stack software
must know the address of the FTP server that is to be used.
Syntax: AT#FTPSERV="<value>"
AT#FTPSERV? Read or display the current setting (or AT#VFTP, AT#VALL).
Values: 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or, if DNS is available,
alphanumeric ASCII text string up to 120 characters. No default.
Comentarios a estos manuales