1

Prompt problem while using mget to ftp

view story
linux-howto

http://www.unix.com – I am writing a scritp in which first step is to get some files from a server. I am using mget to do that. here is my FTP code ... HOST="XXX.XXX.com" 28 ftp -inv $HOST <<END &> $FTP_LOG 29 quote USER $USER 30 quote PASS $PASWD 31 cd log 32 prompt off 33 binary 34 mget files*.log 35 bye 36 END yesterday everthing was working fine.. but now i am not able to get more than one file using this script. While when i am doing it manually without the script i am able to get all the files. is there any problem with the "prompt"... Thanks in advance (HowTos)