Part 1 – AT Commands for All Universal IP Devices

Chapter 4 – FTP AT Commands

#FTPGET – Download Files from FTP Server

Description:

This command, sent by the attached host, directs the TCP/IP stack to connect to the specified

 

FTP server and to retrieve the specified file from this server. Once the operation is completed, the

 

TCP/IP stack closes the FTP connection.

 

Once an IP link is established, the attached host can retrieve a file from an FTP server at any

 

time (except when the TCP/IP stack software is already in a process using TCP resources).

 

This command is similar to a GET operation (with an automatic connect/disconnect) issued by a

 

standard FTP client on a PC. The TCP/IP stack handles the global FTP process by itself.

 

Note: The TCP/IP stack will signal the attached host of the end of the file that is being

 

downloaded with a single <ETX> character. The <ETX> characters that are part of the file data

 

will be shielded as <DLE><ETX>. The <DLE> characters that are part of the file data will be

 

shielded as <DLE><DLE>. The attached host will need to remove the shielding <DLE>

 

characters.

Syntax:

AT#FTPGET

Values:

FTPGETFILENAME

 

FTPGETPATH

 

FTPPORT

 

FTPSERV

 

FTPTYPE

 

FPTMODE

 

FTPPW

 

FTPUN

 

FTPFILESIZE

#FTPPUT – Upload Files to FTP Server

Description:

This command sent by the attached host directs the TCP/IP stack to connect to the specified FTP

 

server and to upload the data received on the serial port to the specified file on this server. Once

 

the operation is completed, the TCP/IP stack closes the FTP connection.

 

Once an IP link is established, the attached host can send a file to a FTP server at any time

 

(except when the TCP/IP stack software is already in a process using TCP resources).

 

This command is similar to a PUT operation (with an automatic connect/disconnect) issued by a

 

standard FTP client on a PC. The TCP/IP stack handles the global FTP put process by itself.

 

Note: The TCP/IP stack will interpret only an <ETX> character as the end of the file to be

 

transferred if it’s not preceded by a <DLE> character. As a consequence, the attached host must

 

send <ETX> characters preceded by <DLE> characters, and it must also code <DLE> characters

 

as <DLE><DLE>.

Syntax:

AT#FTPPUT

Values:

FTPPUTFILENAME

 

FTPDIR

 

FTPPORT

 

FTPSERV

 

FTPTYPE

 

FTPMODE

 

FTPPW

 

FTPUN

 

No default

Universal IP AT Commands Reference Guide (Document S000457K)

30

Page 30
Image 30
Multi-Tech Systems iCell GPRS (MTSMC-G2-IP #FTPGET Download Files from FTP Server, #FTPPUT Upload Files to FTP Server

iCell GPRS (MTSMC-G2-IP specifications

Multi-Tech Systems iCell GPRS (MTSMC-G2-IP) is a versatile and powerful device designed for seamless connectivity in various applications, particularly in industrial and commercial environments. Known for its robust performance, the iCell GPRS module incorporates advanced technologies that enable effective communication over GPRS networks, making it an ideal solution for IoT applications, remote monitoring, and data collection processes.

One of the main features of the iCell GPRS is its dual SIM capability, which enhances network reliability and ensures continuous connectivity even in the event of network outages. By allowing the use of two SIM cards from different carriers, the device can switch between networks automatically, thereby minimizing downtime and maintaining critical communication channels.

The iCell GPRS supports various protocols including TCP/IP, UDP, and MQTT, which facilitates seamless integration with a range of applications. This flexibility in communication protocols allows developers to create customized solutions tailored to their specific needs, ensuring that the device can fit seamlessly into their existing infrastructure.

Another key characteristic of the MTSMC-G2-IP is its compact design and durability, making it suitable for deployment in a variety of environments. It features a wide operating temperature range that allows it to function efficiently in both extreme heat and cold, thereby catering to diverse applications across different industries. Additionally, the device is designed for easy installation and integration, which helps reduce deployment time and costs.

The iCell GPRS also includes built-in security features such as firewalls and secure data transmission protocols, protecting sensitive information from unauthorized access. This is particularly important for applications in sectors such as healthcare, finance, and transportation, where data integrity and security are paramount.

Furthermore, the device is equipped with various I/O ports that facilitate connectivity with external sensors, actuators, and other hardware. This feature makes it highly adaptable for monitoring and control systems, enabling users to gather real-time data and respond promptly to changing conditions.

In sum, the Multi-Tech Systems iCell GPRS (MTSMC-G2-IP) is a reliable and feature-rich solution designed for modern communication needs. Its dual SIM support, protocol versatility, robust design, and integrated security features make it an ideal choice for IoT and remote monitoring applications across numerous industries. Whether used in industrial automation, environmental monitoring, or smart cities, the iCell GPRS stands out as a dependable device that enhances connectivity and operational efficiency.