Upload .PDF files into MySQL using plain ASP

Reply

Join Date: Dec 2007
Posts: 4
Reputation: zhk is an unknown quantity at this point 
Solved Threads: 0
zhk zhk is offline Offline
Newbie Poster

Upload .PDF files into MySQL using plain ASP

 
0
  #1
Dec 13th, 2007
Hello,

I am new to Microsoft web development. I need help with plain old ASP. Not ASP.NET

I would like to users to my web site to upload .PDF files into the database. I have IIS 5 on Windows 2000 server. Other modules are working flawlessly, but my employer want me to provide website a capability to store .PDF files into the database which will later be displayed to visitor of the website in PDF format by clicking on the file of the .PDF file.

I have found and tried one of the solution on this website but it uses VB and I do not have VB on my web server. Rest of my ASP pages are working with VBScript. If there is a way for me to configure the webserver to work with VB level code in ASP page I would like to do that as well.

Can some help?

Thanks
Zhk
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 132
Reputation: hielo is on a distinguished road 
Solved Threads: 20
hielo hielo is offline Offline
Junior Poster

Re: Upload .PDF files into MySQL using plain ASP

 
0
  #2
Dec 20th, 2007
You just need to worry about a server-side script to process the file you want to upload. Refer to the following page for such script:
http://www.pscode.com/vb/scripts/Sho...=7361&lngWId=4

The fact that your file is PDF really makes no difference. I know it saves the files to specified folder on the filesystem, but if does not support db, you instead of saving the pdf to the database, you can just save the path of the pdf on your filesystem. Of course, you can always choose to first save it to the filesystem first and once that is done save it to your db as binary and then delete it from your filesystem. So, you have lots of options. You just need to decide which route to go.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC