Skip to Main Content
  • Questions
  • shuttle that lists files in a specified directory

Breadcrumb

Question and Answer

Chris Saxon

Thanks for the question, Wayne.

Asked: March 07, 2017 - 8:00 pm UTC

Last updated: March 09, 2017 - 1:52 pm UTC

Version: Apex 4.2

Viewed 1000+ times

You Asked

I need to make a shuttle that lists files in a specified directory. The user could choose what ones they wanted to process. When they press GO there would be a list of files to process.
Is there an example of this that I could look at? Thanks.
Apex 4.2
Oracle 11g

and Connor said...

Adrian Billington wrote up a great article on using external tables to create a tool to list the files in a directory using a simple select statement.

http://www.oracle-developer.net/display.php?id=513

You can do that, and then all Apex needs to do is query that table

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

This is a follow-up question

Wayne McKinstry, March 09, 2017 - 1:49 pm UTC

I forgot to ask: Does this work for loading files from the client PC? Thanks
Chris Saxon
March 09, 2017 - 1:52 pm UTC

No. It's reading files from the database server.