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


In This Topic
    DfltExistsAction Property
    In This Topic
    Returns or specifies during an IND$FILE transfer what happens when the destination file already exists.
    Syntax
    'Declaration
     
    
    Property DfltExistsAction As FileExistsOption
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As FileExistsOption
     
    instance.DfltExistsAction = value
     
    value = instance.DfltExistsAction
    FileExistsOption DfltExistsAction {get; set;}

    Property Value

    The default value (Overwrite) specifies to replace the destination file.
    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

    This property only affects transfers done using the Transfer dialog box, since an "IfFileExists" option must be specified in transfer methods.

    See Also