Example

This example transfers a file named test.txt from the FTP server.

Sub FTPTransferFromServer()

With Session

.XfrFTPLocalFile = "C:\mypath\test.txt"

.XfrFTPRemoteFile = "/home/Ritab/test.txt"

.FTPReceiveFile "", rcYes

End With

End Sub