Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 780
  • Last Modified:

Retrieve pdf (Stored as path) from mysql table

We have a application in vb.net like client/server using a mysql connector.

How can I retrieve from  remote client, a pdf file that are stored in a table (The informatio stored is the path to the file in the server, I don't want to use blob fileld becuase is a huge table). The only connection that exist between client and MySQL server is the MySQL connection using 3306 port

Regards

0
lnrivera
Asked:
lnrivera
1 Solution
 
lluddenCommented:
Given those restrictions, I would create a temp table with a BLOB field, load the file into that field, return that table in the query, then delete the temp table.  Do this all in the SP that you call to request the data.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now