Download Print this page

Multitech SocketModem iCell MTSMC-G2-IP At Commands Reference Manual page 28

Universal ip

Advertisement

Part 1 – AT Commands for All Universal IP DevicesChapter 4 – FTP Commands
Chapter 4 – FTP Commands for All
Set Commands
#FTPPORT – Enter FTP Server Port
Definition:
Syntax:
Values:
Default:
#FTPMODE – Enter FTP Mode
Definition:
Syntax:
Values:
Default:
#FTPTYPE – Specify Data Type
Definition:
Syntax:
Values:
Default:
#FTPSERV – Specify FTP Server Address
Definition:
Syntax:
Values:
Default:
Universal IP AT Commands Reference Guide (Document S000457G)
Downloaded from
Elcodis.com
electronic components distributor
Universal IP Devices
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.
Set Value:
AT#FTPPORT=<value>
View Value:
AT#FTPPORT? or AT#VFTP, AT#VALL
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.
21
Define the FTP behavior for file transfer.
Set Value:
AT#FTPMODE=<value>
View Value:
AT#FTPMODE? or AT#VFTP, AT#VALL
0
FTP Active Mode
1
FTP Passive Mode
0
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.
Set Value:
AT#FTPTYPE="<value>"
View
Value: AT#FTPTYPE? or AT#VFTP, AT#VALL
A
FTP ASCII sessions
I
FTP Binary sessions. (Only Binary session is supported)
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.
I
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.
Set Value:
AT#FTPSERV="<value>"
View Value:
AT#FTPSERV? or AT#VFTP, AT#VALL
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.
None
28

Advertisement

loading
Need help?

Need help?

Do you have a question about the SocketModem iCell MTSMC-G2-IP and is the answer not in the manual?

Subscribe to Our Youtube Channel