Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> htp.get_download_files_list, what's the use?

htp.get_download_files_list, what's the use?

From: Bill Coulam <bcoulam_at_ngtele.com>
Date: Fri, 28 May 1999 09:42:34 -0600
Message-ID: <374EB96A.D17CF017@ngtele.com>


OAS 4+ users,

Sorry it's not painfully obvious to me, but I cannot determine what htp.get_download_files_list is for. A few procs I wrote last night showed me how htp.download_file and the owa_content service mesh and work together. But the documentation on the files_list proc is a little confusing to me. I haven't taken the time to install any of the OAS samples, so perhaps my answer is there. The PL/SQL web toolkit documentation says for htp.download_file:

"After you have UPLOADED [my emph.] files to the database, you can
download them, delete them from the database, and read and write their attributes."

That made since, but it's pretty lousy commentary, since all download_file can do is download a file from the ows_object table. But at least it works. The other things have to be done with owa_content calls (of course this is only mentioned in passing at the very bottom of the section on OAS 4 new features on "File Upload and Download"

Anyway, the htp.get_download_files_list says:

"After you have DOWNLOADED [my emph.] files to the database, you need to
get the files."

Huh? It also says that this procedure returns "The downloaded file." That's exactly what the download_file proc returns! So either they're redundant and the second useless, or the documentation wrong. In either case, I couldn't seem to make get_download_files_list show me anything. It continued to return NULL and 0 in its two OUT parms.

Any ideas why this proc was included in version 4's htp package?

Thanks, Bill C.
app. dev. mgr.
new global telecom Received on Fri May 28 1999 - 10:42:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US