Technical information

Chapter 3: AT Commands Reference
August 5, 2008 AT Commands Reference Manual 3-439
+FTPRMD, Remove Directory
This command causes the G24 to request the remote FTP server to remove a directory in
accordance to a given name.
The following table shows the +FTPRMD parameters.
Example
The first example illustrates remove directory success case.
AT+FTPRMD="somedir"
OK
+FTPRMD: 1
The second example illustrates remove directory fail case, because the directory name was not found on the
remote server. FTP unsolicited indication enabled.
AT+FTPINFO=1
OK
AT+FTPRMD="somedir"
OK
+FTPINFO: RMD 1
Command
Type
Syntax Response/Action Remarks
Set
+FTPRMD=<directory_name> OK
+FTPRMD: <result>
Or:
ERROR: <error_code>
<directory_name>
parameter consists of the
directory name as well as
the directory path
(optional).
The command execution
result return to the user as
an unsolicited response:
0 - operation failed
1 - operation succeeded
Read
+FTPRMD? ERROR
Not supported
Test
+FTPRMD=? +FTPRMD: (<"directory
name">)
OK
Returns command
format.
Table 3-288: +FTPRMD Parameters
<Parameter> Description Range
Directory name Name of directory to be
removed on the remote side.
String, max length is 255 octets.