Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Sachin.

Asked: July 20, 2020 - 4:33 am UTC

Last updated: July 21, 2020 - 4:51 am UTC

Version: 12c

Viewed 1000+ times

You Asked

To upload pdf file from client pc to database and client also can download from database to their own pc.

so it is possible to without create directory on server.
if folder create on client pc acceptable.

https://asktom.oracle.com/pls/apex/asktom.search?tag=displaying-pdf-files-stored-in-the-database


create or replace directory my_files as '/export/home/tkyte/public_html';


and Connor said...

Tim Hall has a nice blog post on doing file upload/download to the database using ORDS.

https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-file-upload-download-mod-plsql-style



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

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library