Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to download a file from the server?

ApexMeisterJan 18 2018 — edited Jan 26 2018

I'm using apex 5.1.4 and universal theme.

I have an Oracle directory app_files that has different types of files like pft, txt file or image.

I have a page where I created a button called download and I need to create a dynamic action to get a specific file from this Oracle directory. I do not want to list the files in a report with download link since the page requires specific file depending on the option selected.

Example In this file directory I have

file001.pdf  -- receipt

fille002.txt  -- memo

file003.jpg.  -- attachement

Page items.

Type

1. select list with value receipt, memo or, attachment.

2. download button

DA.

Based on the type it would download the corresponding file to the user pc.

thanks

This post has been answered by Rich in RVA on Jan 18 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2018
Added on Jan 18 2018
3 comments
2,493 views