SendFile

This method sends the specified file to the host using IND$FILE file transfer.


Syntax

FlexSession.SendFile(LocalFileName, HostFileName, Parameter(s))


Parameters


LocalFileName

String, input



The full path and name of the local file to transfer.


HostFileName

String, input



The name of the host file.


Parameter(s)

String, input



File transfer parameters to append to the transfer command.

Example

Sub Main()

Ok = FlexSession.SendFile("C:\MyFile.txt", "MyFile.txt", "ASCII CRLF")

End Sub