ReceiveFile

This method receives the specified file from the host using IND$FILE file transfer.


Syntax

FlexSession.ReceiveFile(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.ReceiveFile("C:\Users\Public\MyFile.txt", "MyFile.txt", "ASCII CRLF")

End Sub