Automated FTP

I want to do Automated FTP from linux client to LINUX server using a shell script after every one hour. And copies last most updated file from Linux server.
OR
You can say that whenever files get modified on LINUX server so it also copies on my LINUX client.

Linux SERVER path= /home/sheraz/bhac/latest_fileaname.bhca

Linux client path= /root/script/files/

ftp 172.17.1.2
username xxx password xxxx

Regards,
Waqas Ahmed

why not use rdist?

WHAT IS RDIST?

and if you think that it can do my required job, then plz gives detail about its configuration.

Regards,
Waqas Ahmed

All you need it's to read ftp manual.
It's quite simple to connect to needed folder and get needed files.

After it, write if you'll have any issue.

maybe you should consider "expect"? for tasks like this, expect is the perfect choice.

just google expect script