Technical information

Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-23
+iFDL - FTP Directory Listing
+iFDNL - FTP Directory Names Listing
Syntax: AT+iFDL:<F_hn>[,<path>]
Returns a full FTP directory listing.
Parameters:
<F_hn> An open FTP session handle.
<path> Directory or filename wild card.
Command Options:
<F_hn> Must have been obtained by a previous execution of an AT+iFOPN
command during the current Internet mode session.
<path> Optional directory name or filename wild card. If <path> is a directory, that
directory's files are listed. If it is a filename wild card, only matching
filenames in the current directory are listed.
If <path> is not specified, the current directory is listed in full.
Result Code:
I/OK To acknowledge successful receipt of the command.
I/ERROR If <F_hn> is not an open FTP session or otherwise some error has occurred.
Returns: A list of filenames with file attributes. Each file is listed on a separate line,
terminated by <CR/LF>. The file data line syntax is FTP server-dependant.
Followed by:
I/ONLINE After successfully retrieving the directory list.
Syntax: AT+iFDNL:<F_hn>[,<path>]
Returns the FTP directory name list.
Parameters:
<F_hn> An open FTP session handle.
<path> Optional directory or filename wild card.
Command Options:
<F_hn> Must have been obtained by a previous execution of an AT+iFOPN
command during the current Internet mode session.
<path> Optional directory name or filename wild card. If <path> is a directory, that
directory's files are listed. If it is a filename wild card, only matching
filenames in the current directory are listed.
If <path> is not specified, the current directory is listed in full.
Result Code: