Downloading a file from FTP server

Using Applescript, I want to download a text file from an ftp server… how do I go about this? Thanks for help.

You can script a scriptable FTP client like fetch or a scriptable web browser or use the “Do shell script” and use the OSX command line utility. (type “man ftp” in terminal for syntax.)