FTPDownload Example

 

The following example downloads a file named ôtest.txtö from the FTP server onto the local c: drive as ôtest.txt.ö

 

Sub Main

 'This script will download 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.FTPDownload("your.ftp.server","username","password","21","/test.txt","c:\test.txt","","0")

End Sub