InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IFileTransfer Interface / KermitAutomaticServer Property


In This Topic
    KermitAutomaticServer Property
    In This Topic
    Returns or specifies how InfoConnect interacts with the host Kermit program.
    Syntax
    'Declaration
     
    
    Property KermitAutomaticServer As Boolean
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As Boolean
     
    instance.KermitAutomaticServer = value
     
    value = instance.KermitAutomaticServer
    bool KermitAutomaticServer {get; set;}
    Remarks
    If this property is set to True, InfoConnect interacts with the host Kermit program in the following manner: · When the user first opens the File Transfer dialog box, no interaction with the host occurs. · When the user requests a Kermit transfer, the host is put into server mode by transmitting the Server Startup command (specified with the KermitServerStartupCommand property). If no sequence is specified, then InfoConnect assumes that the host Kermit is already in server mode and takes no action other than to set a flag indicating that the host is in server mode. · As long as the File Transfer dialog box remains open, the host Kermit program is left in server mode; transfers occur as the user requests them. · When the user dismisses the file transfer dialog box, clicks on Setup, or changes the protocol, the KermitStopServer method is used to shut down the host Kermit program. This property is only relevant for transfers from the File Transfer dialog box. For programmatic transfers, use the KermitStartServer method to start the host Kermit server program.
    See Also