Home » Server Options » Text & interMedia » How download files?? -- file_datastore
How download files?? -- file_datastore [message #306092] Wed, 12 March 2008 15:09 Go to next message
virgos
Messages: 10
Registered: March 2008
Junior Member
Hi All.

I don't know how download or open files from file_datastore.

I create table,preference,index and insert files.

When I search data in files, it's all right.

Files found.

But I want extra, download files. How do it?


Thx for answer.

Sorry for my english.
Re: How download files?? -- file_datastore [message #306100 is a reply to message #306092] Wed, 12 March 2008 16:14 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
How did you load the files?

For downloading, one option would be file download.
Re: How download files?? -- file_datastore [message #306104 is a reply to message #306100] Wed, 12 March 2008 16:47 Go to previous messageGo to next message
virgos
Messages: 10
Registered: March 2008
Junior Member
I load data: INSERT.

I have in table only names of files.

All the files I have on disc.

It's the method indexing oracle text, preference--> file_datastore.
Re: How download files?? -- file_datastore [message #306108 is a reply to message #306104] Wed, 12 March 2008 18:33 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
You can also use DIRECT_DATASTORE and have a BFILE point to the file on the file system.
Re: How download files?? -- file_datastore [message #306460 is a reply to message #306092] Fri, 14 March 2008 06:41 Go to previous messageGo to next message
virgos
Messages: 10
Registered: March 2008
Junior Member
It's doesn't work.

It's work only for preference Direct_Datastore.

How download file if I use File_Datastore??

Please help me.
Re: How download files?? -- file_datastore [message #306469 is a reply to message #306460] Fri, 14 March 2008 07:24 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
virgos wrote on Fri, 14 March 2008 07:41
It's doesn't work.

What doesn't work ?

Re: How download files?? -- file_datastore [message #306472 is a reply to message #306092] Fri, 14 March 2008 07:36 Go to previous messageGo to next message
virgos
Messages: 10
Registered: March 2008
Junior Member
Procedure wpg_docload.download_file(file_name) not working here.
Re: How download files?? -- file_datastore [message #306488 is a reply to message #306472] Fri, 14 March 2008 08:46 Go to previous message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
Not working here doesn't provide much help.

Nevertheless, you have to have the infrastructure in place to use wpg_docload.download_file (ie. configure a DAD and a virtual path). Ultimately, the method that you configure is going to depend on what application you'll be using to retrieve the file. As one option, you can consider Oracle's native PL/SQL gateway.

Previous Topic: How do I list Index Preferences I have created?
Next Topic: Why index not create??
Goto Forum:
  


Current Time: Thu Mar 28 17:49:27 CDT 2024