Originally Posted by
aussiemcgr
The problem I can foresee with that method is that the User reads and writes to the files on the server, so FTP is important for making the changes to the files.
I am printing out the directory listing because I am unsure how many files will be in the directory, and what their names will be, at runtime. I have thought about having an intermediate file that simply has a list of the files in the directory, but that would leave open the possibility of a user corrupting that file (perhaps through users overwriting one another) and preventing all the rest of the users from finding their files.
Also, how would a dynamic webpage react when many users request data all at once? It is very common for the program to parse a data file to look for a specific line, as some of these data files are over 2 gigs in size and doing a full read of the entire file would take way too long.
I'd worry more about FTP than see it as an advantage (for the same reason above). Just my .02 though. Everything you need can be done by wrapping the OS with some dynamic pages, or better yet writing an application server...its daunting and can be a lot of work, and depending upon your server might require using a language other than java. All this being said my posts didn't address your original question, but hopefully gave some insight into an alternative that you can choose to follow if you wish.