Xfr400ExistsAction Property

Returns or specifies what Reflection should do if it finds a PC file with the same name as the host file or member you are trying to receive.
Property Xfr400ExistsAction As DefaultExistsActionOption
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.
Attachmate.Reflection.SecuredSettingException This exception is thrown when you modify a Reflection property that has been secured via the Permissions Manager, or if such a modification requires Administrator privileges.
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