Informs MegaPipe of the name of file which will be created on the download side for all XModem protocols for a communication channel (direct serial connection or modem connection).
XferSetDstFile(short ChannelID, BSTR FileName, VARIANT_BOOL *Result); |
Parameters
ChannelID
A channel ID (0-7) used to identify a communication channel.
FileName
A pointer to a null-terminated string containing the relevant path name of file which will be created on the download side for all XModem protocols.
Result
If the method succeeds, the value of variable pointed to by Result is VARIANT_TRUE, otherwise the value is VARIANT_FALSE.
Remarks
YModem, YModem-G, ZModem or Kermit doesn't need to touch this API, since the name of file on the download side is identical to the name of file on the upload side.