The following example uploads a file to the FTP server.
Sub Main
'This script will upload one file called test.txt.
'Note that the full path to the file may have to be included in both source
'and destination depending on your server
Action.FTPUpload("your.ftp.server","username","password","21","c:\test.txt","/test.txt","","0")
End Sub