DuplicateName Property

image\validfor_v.gif

Applies To Objects

FileTransfer

Description

Returns or sets how to handle an incoming file with the same name as an existing file in the target directory.

Syntax

object.DuplicateName

Element

Description

Object

The FileTransfer object.

 

Comments

Use the following constants or values to control how to handle duplicate file names.

Constant

Value

Description

xDUPFILEPROMPT

0

default

xDUPFILERENAME

1

renames the incoming file by adding numbers or incrementing numbers in the file name

xDUPFILERENAMEOLD

2

 

xDUPFILEOVERWRITE

3

 

xDUPFILEDISCARD

4

 

xDUPFILEAPPEND

5