User's Manual

Table Of Contents
File Transfer Protocol (FTP)
AT+i Programmer‘s Manual Version 8.32 11-2
11.2 +iFDL FTP Directory 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.