Downloading from a FTP Server

I want to be able to download a file from a ftp server then remove it from the server or have a way for the server to know I have downloaded it, without having to manually do anything. In a perfect world i would like to be able to check if the file is present on the server, then download it, and then delete it. I tried mounting the server by using the mount volume command but its not working. Any suggestions?
Thanks in advance!

I’m using the ftp command line utility to manage my remote servers with a (shell) script.

Is there a way i could do this from applescript