Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread BlobField.LoadFromFile
Wed, Jul 30 2008 12:57 PMPermanent Link

DBISAM 4.22 Build 6, Delphi 5.
I have an app which uses BlobField.LoadFromFile to send files (about 1MB) to
the DBISAM server.  The server is accessed over the Internet.  Sometimes it
takes a huge amount of time to complete this action.  What actually goes on
behind the scenes.  If a packet sent to the server produces no reply, does
DBISAM timeout and retry the last packet?  If so, what is the timeout delay,
and how many times will it retry.  Do we have access to change any of these
settings?  Is there any way to install a progress event to give the user
feedback that something is actually happening?

--Bill Sparrow--

p.s. Could you do with a bit more cash at the end of the month?
www.savea4tune.co.uk



Wed, Jul 30 2008 5:14 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bill,

<< I have an app which uses BlobField.LoadFromFile to send files (about 1MB)
to the DBISAM server.  The server is accessed over the Internet.  Sometimes
it takes a huge amount of time to complete this action. >>

What is "huge" in this case ?  It can take a while to transmit a file if the
Internet connection is slow.  Cable modems, for example, are notoriously
slow on upstream sends.

<< What actually goes on behind the scenes.  If a packet sent to the server
produces no reply, does DBISAM timeout and retry the last packet? >>

DBISAM does not handle packets or anything like that.  It uses straight-up
Winsock just like any other Delphi component, and as such only sends data as
a stream.  The Winsock/TCP/IP layers handle the rest.

<< Is there any way to install a progress event to give the user feedback
that something is actually happening? >>

Sure, you can use these events:

http://www.elevatesoft.com/manual?action=mancompevent&id=dbisam4&product=d&version=7&comp=TDBISAMSession&event=OnRemoteSendProgress

http://www.elevatesoft.com/manual?action=mancompevent&id=dbisam4&product=d&version=7&comp=TDBISAMSession&event=OnRemoteReceiveProgress

--
Tim Young
Elevate Software
www.elevatesoft.com

Image