Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2006, 04:01 PM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bbarnettm
Default UPLOAD FILES FROM ASP TO ORACLE

I´m using ASP 3.0 with II 5.0 and my data base is 9i r2.

I´m moving all my data (ms access) to our ORACLE, but I have problems with the file objects (jpg,gif,doc,pdf,txt,etc) store in my access.

I create a table using long raw, bfile y blob, and using my old rutine to upload to my access I can upload to my oracle, but when I try to read and display the content of the column, I have many errors.

If some body can help me, I need to see any rutine for upload in ASP and any rutine for display using asp too.

for upload
rsDoc9.Fields("Documento").AppendChunk fileData
rsDoc9.Fields("ContentType").Value = contentType


For display
Set RS = OraDatabase.DbCreateDynaset( sSQL, cint(0))
Response.ContentType = rs.Fields("ContentType").Value
Response.BinaryWrite rs.Fields("Documento").Value


Thank for your help.
My e-mail is [email protected]

Ing. Berlington Barnett Martínez, Lic.
Developer, IT Department
Phone: (506)257-0145 Ext. 201
www.fomuvel.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I upload files in classic ASP? murshed Classic ASP Databases 8 August 4th, 2008 05:26 PM
Upload files from asp to the database sunilssil Classic ASP Professional 1 October 23rd, 2007 12:46 PM
cant upload files akber ASP.NET 1.0 and 1.1 Basics 3 November 6th, 2006 03:06 AM
Loading Files to Oracle Server through ASP vicky_gupta100 Classic ASP Databases 3 October 7th, 2004 08:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.