User's Manual

Table Of Contents
File Transfer Protocol (FTP)
AT+i Programmer‘s Manual Version 8.32 11-3
11.3 +iFDNL FTP Directory Names Listing
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:
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 bare list of filenames. Each file name is listed on a separate
line, terminated by <CR/LF>. No attributes are returned in
addition to the filename.
Followed by:
I/ONLINE
After successfully retrieving the directory list.