• Post Reply Bookmark Topic Watch Topic
  • New Topic

scan filenames in a folder

 
gino mendoza
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to be able to scan the names of files in a specific folder in a server.
server names is \\uswpdms0102\batches
is this more of a networking question?
thanks in advance.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you were create a File object using the URI to your folder, you could use the list() method, which returns an array of strings naming the files and directories in the directory.
I'm not sure if you quest will lead you more towards I/O or Sockets. Let's guess I/O, and move this to the I/O forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!