User guide
Part 1 – AT Commands for All Universal IP DevicesChapter 4 – FTP Commands
Universal IP AT Commands Reference Guide (Document S000457H) 34
Chapter 4 – FTP Commands for All
Universal IP Devices
Set Commands
#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.
Syntax: Set Value: AT#FTPPORT=<value>
View Value: AT#FTPPORT? 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
Definition: Define the FTP behavior for file transfer.
Syntax: Set Value: AT#FTPMODE=<value>
View Value: AT#FTPMODE? or AT#VFTP, AT#VALL
Values: 0 FTP Active Mode
1 FTP Passive Mode
Default: 0
#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.
Syntax: Set Value: AT#FTPTYPE="<value>"
View Value: AT#FTPTYPE? 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, 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.
Default: I