Please help me validate script

view full story

http://www.unix.com – Hi Guys, Im a newbie to scripting and have a small assignment. can someone please confirm if the script i have written would work fine as we dont have a test server to test :( Scenario - copy 2 files from an ftp server (windows) to a linux machine (a perticular folder). run 2 different scripts (one after the other) on the 2 files to produce output files and then copy the output files into a different dir. Hope its not too complex. here is my script. Code: #!/bin/bash HOST='machine' USER='user' PASSWD='password' ftp -i -n $HOST user ${USER} ${PASSWD} binary cd /home/nishant get file (HowTos)