Chapter 4 – FTP Services
Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
26
Chapter 4 – FTP Services
Parameter Definitions
#FTPPORT Enter FTP Server Port
Definition:
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.
Values:
From 1 to 5 digits (each digit between 0 and 9 inclusive).
Note that numbers above 65,535 are illegal as the port identification fields are 16 bits long in the TCP
header.
Default 21
.
Syntax:
Set Value: AT#FTPPORT=<value>
Get Value: AT#FTPPORT? or AT#VFTP, AT#VALL
#FTPMODE Enter FTP Mode
Definition:
Define the FTP behavior for file transfer.
Values:
0
FTP Active Mode.
Default.
1
FTP Passive Mode
Syntax:
Set Value: AT#FTPMODE=<value>
Get Value: AT#FTPMODE? or AT#VFTP, AT#VALL
#FTPTYPE Specify Data Type
Definition:
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.
Values:
A
FTP ASCII sessions
I
FTP Binary sessions (upper case i letter).
Default.
Note:
When this value is set to A, all the 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 consequence binary data containing 8 bits
characters will be corrupted during the transfer if the FTPTYPE is set to A.
Syntax:
Set Value: AT#FTPTYPE=<value>
Get Value: AT#FTPTYPE? or AT#VFTP, AT#VALL
#FTPSERV Specify FTP Server Address
Definition:
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.
Values:
32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or
Alphanumeric ASCII text string up to 120 characters if DNS is available.
No default
.
Syntax:
Set Value: AT#FTPSERV=<value>
Get Value: AT#FTPSERV? or AT#VFTP, AT#VALL