where
x
is either
0
for Binary file type, or
1
for ASCII file type, followed by the enter key.
The terminal program should respond with:
OK
2.6. Change the Working Directory (If Necessary)
If necessary, you may need to change the directory where the file needs to be
downloaded to. Type the following command into the terminal program:
AT#FTPCWD=”directory”
where
directory
is the directory you need to change to. The terminal should respond
with:
OK
2.7. Download the File from the FTP Server
To download a file from the FTP server, type the following command into the terminal
program:
AT#FTPGET=”file.txt”
where
file.txt
is the file you would like to download, followed by the enter key.
Note: If necessary, you can list the files available for download from the FTP server
using the
AT#FTPLIST
command.
The terminal should respond with:
CONNECT
and begin downloading. Once it is complete, the terminal program will say:
NO CARRIER
2.8 Close the FTP Connection
Once you have downloaded the file that you need, you can close the FTP connection
with the following command:
AT#FTPCLOSE
followed by the enter key.
After a short delay
, the terminal should respond with:
OK
2.9 Deactivate the Data Session (If Necessary)
To close the data session, type the following into the terminal program:
AT#SGACT=1,0
followed by the enter key, and the terminal program should respond with:
OK
PN 30047 rev 2
NimbeLink Corp. All Rights Reserved.
5