[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IFS folder listing
"." is the current directory (customer)
".." is the parent directory (root - in this case)
>>> mohamedmusthafa.safarulla@xxxxxxxxx 01/14/2010 2:29:26 PM >>>
I want directory listing of an IFS folder , I got the sample program
from
[1]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
References
1. http://www.scottklement.com/rpg/ifs_ebook/ifs_ebook.pdf%A0
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------