Transferring Ftp File To Ftp Server - Multitech MTC-MAT1-B01 User Manual

Table of Contents

Advertisement

CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
The device responds with OK, which indicates a successful connection for sending and receiving data through the
socket connection.
Exit Data Mode and Close Connection
To exit data mode and close the socket:
1.
Enter the escape sequence:
+++
2.
To close Socket 1, enter:
AT#SH=1
The device responds with OK.
3.
To close the data connection, enter:
AT#SGACT=3,1
The device responds with OK.

Transferring FTP File to FTP Server

To connect to FTP server and upload files:
1.
Check signal strength.
Enter:
AT+CSQ
2.
Activate context one
Enter:
AT#SGACT=3,1
3.
Set FTP operations timeout to 10 seconds
Enter:
AT#FTPTO=1000
4.
Configure FTP server IP address with username and password.
Enter:
AT#FTPOPEN="###.##.###.#","username","password",0
where ###.##.###.# is the IP address and the username and password for the FTP server.
5.
Configure file transfer type.
Enter:
AT#FTPTYPE=#
where # is 0 for binary or 1 for ASCII.
6.
Enter the file name to be sent to the FTP server and initiate connection.
Enter:
AT#FTPPUT="file.txt"
The device responds with:
CONNECT
7.
Send the file through the device.
Closing the FTP Data Connection
After the file is sent:
36
®
MultiConnect
Cell MTC Cat M1 User Guide

Advertisement

Table of Contents
loading

Table of Contents