InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IFileTransfer Interface / Xfr400ExistsAction Property


In This Topic
    Xfr400ExistsAction Property
    In This Topic
    Returns or specifies what InfoConnect should do if it finds a PC file with the same name as the host file or member you are trying to receive.
    Syntax
    'Declaration
     
    
    Property Xfr400ExistsAction As DefaultExistsActionOption
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As DefaultExistsActionOption
     
    instance.Xfr400ExistsAction = value
     
    value = instance.Xfr400ExistsAction
    DefaultExistsActionOption Xfr400ExistsAction {get; set;}

    Property Value

    The default value is AskUser. This setting prompts the user for a decision if the PC file already exists.
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify an InfoConnect property that has been secured via the Permissions Manager, or if such a modification requires Administrator privileges.
    Remarks
    The equivalent property for IND$FILE is DfltExistsAction. This property affects AS/400 data transfer and is only relevant for 5250 sessions.
    • Appends the host file or member to the existing PC file.
    • Prompts the user for a decision if the PC file already exists. (The default.)
    • Fails the transfer (and returns an error) if the PC file already exists.
    • Replaces the existing PC file.
    See Also