Multi-Tech Systems iCell GPRS (MTSMC-G2-IP #FTPGETPATH Set Path to Get a File from FTP Server

Models: iCell GPRS (MTSMC-G2-IP

1 119
Download 119 pages 55.83 Kb
Page 31
Image 31

Part 1 – AT Commands for All Universal IP Devices

Chapter 4 – FTP AT Commands

#FTPGETPATH – Set Path to Get a File from FTP Server

Description: In order for the TCP/IP stack software to get a file from the FTP server, the TCP/IP stack software must know the path of the relevant file. For example: ftp.companyx.com/wireless/WPST or, if you at in the root ftp.companyx.com, you can then simply type /

Syntax: AT#FTPGETPATH="<value>"

AT#FTPGETPATH? Read or display the current setting (or AT#VFTP, AT#VALL).

Values: Alpha-numeric ASCII text string up to 120 characters.

Note: Depending on the FTP server, the value can be used for getting a file from the root directory of the FTP server. No default.

#FTPPUTPATH – Set Path to Send Files to FTP Server

Description: In order for the TCP/IP stack software to send a file to the FTP server, the TCP/IP stack software must know the path of the relevant file. For example: ftp.companyx.com/wireless/WPST or, if you at in the root ftp.companyx.com, you can then simply type /

Syntax: AT#FTPPUTPATH="<value>"

AT#FTPPUTPATH? Read or display the current setting (or AT#VFTP, AT#VALL).

Values: Alpha-numeric ASCII text string up to 120 characters.

Note: Depending on the FTP server, the value can be used for getting a file from the root directory of the FTP server. No default.

#FTPAPPEND – Append Data to Server

Description: This command sent by the attached host directs the TCP/IP stack to connect to the specified FTP server and to append 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: Certain conditions must be met in order to use this command. First, the FTP server must support this command as some servers do and some servers don't. Also, the client performing the APPEND operation must read/write to the FTP server as well.

Syntax: AT#FTPAPPEND

#FTPNETWORKTIMER – FTP Client Network Transmit Safety Timeout Value

Description: This parameter determines the inactivity time in seconds of the TCP TX buffer.

Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)

Syntax: AT#FTPNETWORKTIMER=<parameter1>

Values: 0-65535 – the time in seconds the client will wait for the TCP available TX buffer to be greater than 0. A setting of 0 will disable the function.

Responses: \r\n#FTPNETWORKTIMER: VALUE1\r\n \r\nOK\r\n

\r\nERROR\r\n

Command Example(s):

send: AT#FTPNETWORKTIMER=100\r reply: \r\nOK\r\n

send: AT#FTPNETWORKTIMER?\r reply: \r\n#FTPNETWORKTIMER: 100\r\n reply: \r\nOK\r\n

Universal IP AT Commands Reference Guide (Document S000457K)

31

Page 31
Image 31
Multi-Tech Systems iCell GPRS (MTSMC-G2-IP manual #FTPGETPATH Set Path to Get a File from 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.