Technical information

Chapter 3: AT Commands Reference
August 5, 2008 AT Commands Reference Manual 3-445
+FTPLIST: 1
The second example illustrates get list for all files success case.
AT+FTPLIST="*.*"
OK
+FTPLIST: 2
-rw-rw-r-- 1 1001 129886 Mar 23 06:20 somefile1.name
-rw-rw-r-- 1 1001 4968 Jan 8 07:57 somefile2.name
-rw-rw-r-- 1 1001 23948 Jan 8 07:32 somefile3.name
-rw-rw-r-- 1 1001 0 Feb 7 01:56 somefile4.name
-rw-rw-r-- 1 1001 204673 Jan 10 02:28 somefile5.name
-rw-rw-r-- 1 1001 9348 Jul 19 2006 somefile6.name
+FTPLIST: 1
+FTPSTAT, Request Status
This command causes the G24 to request the remote FTP server to send status, in accordance with
a given parameter.
Note: Parameter is optional. When +FTPSTAT command without a parameter is entered, G24
requests the remote side to return a general system status.
Command
Type
Syntax Response/Action Remarks
Set
+FTPSTAT[=<file/directory
name>]
OK
...
+FTPSTAT:
<result>[,<status>]
or
ERROR: <error_code>
Parameter (optional)
consists of directory
name as well as directory
path (optional).
The command execution
result return to the user as
an unsolicited response:
0 - operation failed
1 - operation succeeded
2 - text message follows
<status> parameter
follows only when
<result>=2
Read
+FTPSTAT? ERROR
Not supported
Test
+FTPSTAT=? +FTPSTAT: (<"file/directory
name">)
OK
Return command format