Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Wireless Office Headset User Manual


 
Part 1 AT Commands for All Universal IP Devices Chapter 4 FTP AT Commands
Universal IP AT Commands Reference Guide (Document S000457K) 28
Chapter 4 – FTP AT Commands for All
Universal IP Devices
Set Commands
#FTPPORTEnter 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
#FTPMODEEnter 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
#FTPTYPESpecify 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: AFTP 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