Sep
22
A.I. asked:
I’m doing a project for a Java Networking course. It’s something like an FTP client and server.
I’m doing a project for a Java Networking course. It’s something like an FTP client and server.
I need to know how to get the files that exist at a certain directory in the server so their names could be displayed in a GUI for the client to choose from.
I really need this, can anyone help me?
Thanks in advance.
Hannah
Comments
One Response to “How to know the files that exist at a certain directory in Java?”







The javadoc for javaiofile file new filedirectorypath string filelist dlist that should get you want.