4

Shell script to get all the files from FTP server

view full story
linux-howto

http://www.unix.com – Hi Guru's, I am new to UNIX. my requirement is to log on to FTP server and get all the .txt files. i have developed one script by searching some forums but getting error and not able to fix them. pls see below code. Code:                 ftp -i-n<<EOF                 open $FTP_HOST                 user $FTP_USER $FTP_PASS                 cd FTP_PATH                 ascii (HowTos)