VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
Saving BLOBS to file.

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
Anordlun



Joined: 13 Aug 2004
Posts: 12

PostPosted: Fri Aug 13, 2004 10:43 am    Post subject: Saving BLOBS to file. Reply with quote

Hi.
I have to download BLOB's larger than 32k and save them to file.

I've tried all known forums about dbExpress and search through Internet.
My last before dumping dbExpress is trying this forum?

Can anyone help me with this problem (I'm trying to download within Delphi)

//Andreas
Back to top
View user's profile Send private message
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Tue Aug 17, 2004 10:35 am    Post subject: Reply with quote

We send you an example of work our dbExpress driver with BLOB by e-mail.
BLOB size is set in Params properties of TSQLConnections.
BlobSize parameter specifies the number of kilobytes. Try to set BlobSize=4096. This will be enough for 4 megabytes of BLOb data.
[/b]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anordlun



Joined: 13 Aug 2004
Posts: 12

PostPosted: Tue Aug 17, 2004 10:55 am    Post subject: Reply with quote

Thanks. That did the trick.

The helpfile did say that you should use -1 as blobsize.

Quote:
If MaxBlobSize is –1, the dataset imposes no maximum BLOB size. If MaxBlobSize is 0, the dataset uses the parameters of the associated SQL connection, if any, to determine the maximum BLOB size.


Is this a limitation in the driver or in the Delphi component?
(Just curious)
Back to top
View user's profile Send private message
Mat000



Joined: 04 Nov 2003
Posts: 12

PostPosted: Tue Aug 24, 2004 10:31 am    Post subject: Reply with quote

There is a feature of the Sybase client API. The limit for the BLOb data must always be set.

BlobSize = -1 implies the default value (32K)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group