I need a function which will connect to an FTP server using *PHP's built in FTP functionality*, and build a table of full paths and file permissions recursively. The function needs to traverse symlinks, and get the permission off the link TARGET, as well as it's contents if it is a directory. The table also needs to include empty directories. There is no spec for implementation, use coder's discretion. The code also needs to work for UNIX and Windows FTP servers. note: It has been brought to my attention I wasn't clear about what kind of table, by that I mean some sort of hash table or array, just an in memory data structure. Sorry I wasn't cleat about that.
1) Complete and fully-functional working program(s) and complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
Windows, UNIX variants