I'm trying to retrieve the documents that show in the research tab from Tessitura in their original format (e.g., .jpg, .doc, .ppt, et al). Is this even possible? If so, how would I go about doing so on the SQL side, rather than one at a time, pulling up the document in Tessitura and saving it to the hard drive, I presume.
Thank you for your help, Tessiturians.
BONUS WHAT-MIGHT-HAVE-BEEN TRIVIA: In his youth, Bill Cosby was good enough as a football player to be offered a trial with the Green Bay Packers.
Hi, in an ASP.Net page you could fdo something like below. This saple does not check for the proper mime types it is just assuming a gif file. There are a lot of topis on the web about this as well. The main part is where it strips out the ole header data.
public
Page
{
e) {
m_sqlcnDBC;
m_sqlcmdObj; m_sqlcnDBC =
m_sqlcnDBC =
); m_sqlcnDBC.Open(); m_sqlcmdObj =
m_sqlcnDBC.Open();
m_sqlcmdObj =
(); m_sqlcmdObj.Connection = m_sqlcnDBC;
m_sqlcmdObj.Connection = m_sqlcnDBC;
);
, m_sqlcnDBC); sqladpResult.Fill(ds);
sqladpResult.Fill(ds);
OleHeaderLength = 78;
ds.Tables[0].Rows) {
]).Length - OleHeaderLength;
[strippedDataLength];
], OleHeaderLength, strippedData, 0, strippedDataLength); Response.ContentType =
strippedData, 0, strippedDataLength);
Response.ContentType =
;
Response.BinaryWrite(strippedData);
}