Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
The FTP functions cannot be used together with the internal protocol stack
TCP/UDP function.
You can read or write data on the FTP server only after you logged in to the FTP
server.
Activate PPP before using this command.
5.2 Logging Out from the FTP Server: +FTPLOGOUT
To log out from the FTP server
Log out from the FTP server
5.3 Downloading Data from the FTP Server: +FTPGET
To download data from the FTP server
AT+FTPGET=[<dir&filename>],<type>,<content or info>[,<size>]<CR>
<Dir&filename>: Path and name of the file to be read(Note: The file directory under the
FTP root directory)
<Type>:File transfer mode:
1: ASCII
2: Binary
<content or info>: File content or file (or specified directory) information
1: Obtain the file content
2: Obtain the information of the file or the specified path
3: Obtain the file length
<offset>: file content offset
<length>: Specifies the length of file content to be read, ranging from 1 to 1024
+FTPGET: Error<n>
: The format of the AT command is incorrect. n: Error Code
+FTPGET:Error Not Login
: The user has not logged in to the FTP server.
+FTPGET:Error TimeOut
: Some failure is caused by download timeout (timeout
period is 30 seconds) and the module does not receive data from the FTP
server within 30 seconds.
+FTPGET:<length>,<data>
:
<length>
indicates the data length;
<data>
indicates
the data content.
+FTPGET:OK.total length is <n>
: The module reads data successfully and the
data length is
n
.
+FTPGET:OK.partial length is <m>
: The module reads the data of <m> byte