expression.INDSendFile( _ ByVal pcFile As String, _ ByVal hostFile As String, _ ByVal type As INDFileTransferType, _ ByVal fileExistsOption As FileExistsOption, _ ByVal showStatus As Boolean _ )
where expression is a variable that represents a FileTransfer Object
Parameters
- pcFile
- Specifies a local file. Unless you provide complete path information, only files in the current directory will be found. You cannot use wildcard characters to send multiple files the way you can by using the Transfer screen.
- hostFile
- Specifies a name for the transferred file that complies with host file-naming conventions. You cannot use an empty string.
- type
An INDFileTransferType value that specifies the type of file being transferred.
- fileExistsOption
- A fileExistsOption value that specifies what to do if the file specified in the HostFile argument already exists. This is a FileExistsOption Enumeration value.
- showStatus
- Displays the file transfer in the Progress window if set to true.