dpalyca755
asked on
working with files in a directory
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...
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...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.exampledepot.com/egs/java.io/CurDir.html