Downloading File From Ftp Server - Multitech MultiConnect MTC-LAT1-B02 User Manual

Table of Contents

Advertisement

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.
Activate context one
Enter:
AT#SGACT=1,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.
If required, change the working directory to "folder1".
Enter:
AT#FTPCWD="folder1"
7.
Enter the file name.
Enter:
AT#FTPGET="filename.txt"
where filename.txt is the file you want to download.
The device responds with:
CONNECT
The file is received through the device. The device responds with:
NO CARRIER
The data connection closes automatically when the file sending ends.
Closing the FTP Data Connection
When you finish sending the file:
1.
Close the FTP connection.
Enter:
®
MultiConnect
Cell MTC-LAT1 User Guide
CONFIGURING AND COMMUNICATING WITH YOUR DEVICE
31

Advertisement

Table of Contents
loading

Table of Contents