[asterisk-users] Fetching Binary data from SQL Server
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri May 16 17:27:08 CDT 2008
On Friday 16 May 2008 16:10:22 Sanjay Rajdev wrote:
> I am trying to write a customized app using C that would fetch voice file
> from SQL Server 2000 using ODBC and FREETDS.
>
> Currently I am only able to fetch first 63 KB chunk from the DB, and not
> able to fetch the rest of the file, below is the code that i am using to do
> so,
>
> //Trying to fetch data in chunks
> for (offset = 0; offset < colsize; offset += CHUNKSIZE) {
What is your value of CHUNKSIZE?
--
Tilghman
More information about the asterisk-users
mailing list