InfoConnect for Unisys VBA Guide
FileTransfer Object Members

The following tables list the members exposed by FileTransfer.

Properties
 NameDescription
Public PropertyAbortCommandsDownloadGets or sets a value specifying the CANDE command to terminate a CANDE file listing (stop displaying a file).  
Public PropertyAbortCommandsUploadGets or sets a value specifying the CANDE command to remove the work file. This is the command that will be sent to CANDE when a file transfer is canceled.  
Public PropertyGetFileCommandGets or sets a value specifying the CANDE command to retrieve (get) a host file and create a work file.  
Public PropertyGetFileResponseGets or sets a value specifying the response that CANDE sends to the PC to indicate when a host file has been retrieved.  
Public PropertyHostTimeoutGets or sets a value specifying the number of seconds (0-999) that the CANDE file transfer protocol should wait for a response from the host before canceling the file transfer.  
Public PropertyLocalFileExistsGets or sets the behavior to take when the local file exists when transferring a file.  
Public PropertyMakeFileCommandGets or sets a value specifying the CANDE command to create a new file.  
Public PropertyMakeFileOptionsGets or sets a value specifying the type of file being created (sch as ALGOL, BASIC, BINDER, C74, DATA, F77, PASCAL, SEQ). A value is optional.  
Public PropertyMakeFileResponseGets or sets a value specifying the response that CANDE sends to the PC to indicate when a new file has been created and is ready to receive text.  
Public PropertyNextPageCommandGets or sets a value specifying the CANDE command that scrolls to the next page of text.  
Public PropertyOmitLeadingSpaces

Gets or sets a value indicating whether to remove blank spaces at the beginning of a line. Blank spaces after the first non-blank character are left as they are.

 
Public PropertyParentGets the parent object. The parent is the T27Terminal object.  
Public PropertyResponsesListEndGets or sets a value specifying the response that CANDE sends to the PC to incidate that it has received all of the data.  
Public PropertyResponsesScrollingGets or sets a value specifying the response that CANDE sends to the PC in response to the ?+s command.  
Public PropertySaveFileCommandGets or sets a value specifying the CANDE command to save and remove the work file.  
Public PropertySequenceNumberBaseGets or sets a value specifying the starting number to use for numbering lines of data (0-99999999).  
Public PropertySequenceNumberIncrementGets or sets a value specifying the increment (0-99999999) to increase each new line number. For example, if the SequenceNumberBase is 100 and you set SequenceNumberIncrement to 100, the first line of data will be numbered 100, the second line of data will be numbered 200, and so forth.  
Public PropertySequenceNumberLengthGets or sets a value specifying the number of digits in each sequence number.  
Public PropertyTransferTypeGets or sets the configured file transfer type.  
Top
Methods and Functions
 NameDescription
Public MethodReceiveFileDownloads a file from the host to your local PC.  
Public MethodSendFileUploads a file to the host.  
Top
Events
 NameDescription
Public EventFileTransferDoneThis event occurs when a file transfer (send or receive) completes.  
Top
See Also