[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IFS folder listing
Thanks Rick but why do we really need that . and ..?
Thanks,
Musthafa
On Thu, Jan 14, 2010 at 4:58 PM, Rick Connor
<[1]rconnor@xxxxxxxxxxxxx> wrote:
There are two "special" entries inside each directory, as well.
They are
"." (a single dot) and ".." (two dots). These
signify the "current directory" and the "parent directory"
respectively.
-----Original Message-----
From: [2]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[3]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mohamed
Musthafa Safarulla
Sent: Thursday, January 14, 2010 5:29 PM
To: HTTPAPI and FTPAPI Projects
Subject: IFS folder listing
I want directory listing of an IFS folder , I got the sample program
from
[4]http://www.scottklement.com/rpg/ifs_ebook/ifs_ebook.pdf page 81
The program is like
dir = OpenDir('/customer');
p_dirent = readdir(dir);
Dow p_dirent <> *NULL;
Msg = %subst(d_name:1:d_namelen);
p_dirent = readdir(dir);
EndDo;
CloseDir(dir);
*InLR = *On;
The file listing is coming perfect but i have extra entries in the
listing
like
"." and ".."
No idea, what it is. Any pointers? Please
--
Thanks,
Musthafa
-------------------------------------------------------------------
----
This is the FTPAPI mailing list. To unsubscribe, please go to:
[5]http://www.scottklement.com/mailman/listinfo/ftpapi
-------------------------------------------------------------------
----
--
Thanks,
Musthafa
References
1. mailto:rconnor@xxxxxxxxxxxxx
2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
3. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
4. http://www.scottklement.com/rpg/ifs_ebook/ifs_ebook.pdf
5. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------