• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to download a file from database

 
visu Nekk
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have inserted a .doc into ms access database using com.oreilly.servlet.MultipartRequest.Now how can i download it.Can anyone plz help me with the code.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide more information with your questions.

Are you able to get the file out of the database? If you can get it in, you should be able to extract it. To send it to the client, you can adapt the code here
 
visu Nekk
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Using this code i have inserted the data into the access database.when i gave the select command i got a number format for CV field.i want to download it to text format.could u plz help me

[added code tags]
[ September 08, 2005: Message edited by: Jeanne Boyarsky ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the JDBC forum.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Visu,
Which line throws the exception? Does it work if you do the select without doing the insert first?
 
visu Nekk
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i retrieve the data i am getting an output of this sort

Name : viswanathCV : 5B00420040003100640031003000610035006300
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic