property FileMask : TFileName
Determines the file mask to use when transmitting files.
FileMask can specify a single file or can contain wildcards to transmit multiple files using a batch protocol such as Zmodem. If it does not specify a path name, files are read from the current directory.
Only a single mask can be used for each transfer. To transfer a group of files that cannot be described by a single mask, see "NextFile processing" in the printed documentation.
The following example transmits all files with a ZIP extension in the /tmp directory:
ApxProtocol1.FileMask := '/tmp/*.ZIP';
ApxProtocol1.StartTransmit;