This example transfers a file named test.txt to the FTP server.
Sub FTPTransferToServer()
With Session
.XfrFTPLocalFile = "C:\mypath\test.txt"
.XfrFTPRemoteFile = "/home/Joe/test.txt"
.FTPSendFile "", rcYes
End With
End Sub