Pulling a list of files from FTP site in a shell script

Hi,

I am writting a shell script which will pull a list files (mentioned in one file 1.txt) from external FTP site (for ex: ftp://abcd.efghijk.com/). The 1.txt is in my local unix directory. I have username and password to connect the external FTP site.

Also before I pull the files, I need to make sure that these files exist in the external FTP site.

Any help would be appreciated.

Thanks
Saumya