Thursday, April 12, 2007

How to Read File list and FTP over a server specific location

Last Tuesday, one of my ex-coursemate was asking me about how to create shell script. Well I did have some experience with shell script but not advance level.

He asked me to go to his home to teach him and help him up with his task. I told him I not able to teach him but able to research with him to do the
His assignment is to list all file in the specific location, and ftp over another server if any file existed.
I went to his home and spent 1.5 hours to solve the assignment. Well starting I wasted 30 minutes troubleshooting the network connection.... at the end we finally made it.

Here is the code in *.ksh Korn Shell:




@cybertech

No comments: