Example

The following example shows how to send a file from the workstation to the host.

' Create a new lsxECLXfer object associated with connection A
dim myXferObj as new lsxECLXfer("A")
 
' Send a file from my PC to the host on connection A,
' Assume the host is a VM/CMS host
myXferObj.SendFile "c:\windows\temp\thefile.txt",
                 "THEFILE TEXT A",
                 "(CRLF ASCII"