TApxProtocol.StartTransmit

TApxProtocol

procedure StartTransmit;

Tells the protocol to start transmitting files.

The steps leading up to calling StartTransmit look something like this:

1.Create a port component

2.Create a protocol component

3.Set ProtocolType

4.Set other properties to customize the protocol

5.Write suitable handlers for protocol events

6.Set FileMask or use an OnProtocolNextFile event handler to return a list of files to transmit

7.Call StartTransmit

StartTransmit returns immediately and transmits files in the background, occasionally generating events to keep the application apprised of progress. When the protocol is finished, either successfully or with a fatal error, it generates an OnProtocolFinish event and its InProgress property starts returning False.

See also: FileMask, OnProtocolNextFile, ProtocolType, StartReceive