directory
A.I. asked:


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

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Comments

One Response to “How to know the files that exist at a certain directory in Java?”

  1. btd user on September 24th, 2009 3:50 am

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