CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
26
MultiConnect
®
Cell MTC-MNA1 User Guide
6.
Configure file transfer type.
Enter:
AT#FTPTYPE=#
where # is 0 for binary or 1 for ASCII.
7.
Enter the file name to be sent to the FTP server and initiate connection.
Enter:
AT#FTPPUT="file.txt"
The device responds with:
CONNECT
8.
Send the file through the device.
Closing the FTP Data Connection
After the file is sent:
1.
Enter the escape sequence.
Enter:
+++
The device responds with:
NO CARRIER
2.
Close the FTP connection.
Enter:
AT#FTPCLOSE
3.
Close the PPP data connection.
Enter:
AT#SGACT=1,0
The device responds with OK.
Downloading File from FTP Server
To connect to an FTP server and download files:
1.
Check signal strength.
Enter:
AT+CSQ
2.
Verify device is registered on the cellular network.
Enter:
AT+CEREG?
Should return:
+CEREG: 0,1 or +CEREG: 0,5
OK
3.
Activate context one
Enter:
AT#SGACT=1,1
4.
Set FTP operations timeout to 10 seconds