ÿþ{ This script demonstrates how to download some files from the root directory on FTP server. You need to change: 1) The connection information 2) A valid FTP and local path 3) Email settings by clicking 'Edit->Options->Email account' } Begin {----- Script starts here, please put your codes below this line -----} if OpenHost('/host=localhost /anonymous') then begin DownloadFile('/ftp=/testing_files/*.* /local=d:\temp\files'); SendEmail('/subject=Script Result /to=myemailaddress /fname=noreply@codingftp.com /faddr=testing@codingftp.com /body=Download files successfully'); CloseHost; end else begin WriteLog('Connection failed, error message: ' + ErrorText); end; {----- End of the script, please put your codes above this line -----} End. ***<<<[[[ INTERNAL INFORMATION, DO NOT CHANGE!!! ]]]>>>*** ReadOnly=False Comment=This script demonstrates how to download some files from the root <&NL>directory on FTP server.<&NL>You need to change:<&NL>1) The connection information<&NL>2) A valid FTP and local path<&NL>3) Email settings by clicking 'Edit->Options->Email account'<&NL> ScriptID=D81515C457D14011B7843E85DDE56466