working with files in a directory
Posted on 2012-04-04
How would I in JAVA read the filenames of a certain extension, from a directory?
I need to periodically check a specific directory and transfer the files one by one to another machine. There could be anywhere between 1-30 files. I know how to transfer them, I just need to know how to read what files are there, etc. I have a utility which I can pass the filename to and it will handle the transfer, etc...