
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
MultiConnect
®
MicroCell MTCM-LAT3 and -LSP3 User Guide
25
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
Enter:
AT#FTPTO=1000
5.
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.
6.
Configure file transfer type.
Enter:
AT#FTPTYPE=#
where # is 0 for binary or 1 for ASCII.
7.
If required, change the working directory to "folder1".
Enter:
AT#FTPCWD="folder1"
8.
Enter the file name.
Enter:
AT#FTPGET="filename.txt"
where filename.txt is the file to download.
The device responds with:
CONNECT