I've been doing some searching through the forums and I know what I want to do, but I'm a little confused on how to go about doing it. I'm going to be uploading files to a directory via FTP. I want there to be a front-end, browser-based website that a user can go to and navigate through directories and download these files. On this front-end I would like a user to be able to view the file name, type and size.
After searching the forums I have found two ways that I could go about doing this.
1) Use the opendir(), readdir() and print the names of all files and directories.
2) Explore using the FTP functions built in to PHP.
Does anyone have any recommendation one way or the other?
Thanks in advance!