Home » Infrastructure » Unix » unix shell script is not executing .
unix shell script is not executing . [message #216150] |
Thu, 25 January 2007 05:15  |
frank.svs
Messages: 162 Registered: February 2006
|
Senior Member |
|
|
Hi , I wrote a function but it is showing still errors, simply i am connected my ftp server and copying files and put it on ftp server.
This is what i have done.
$cat test
TEST()
{
ftp -n -v <<-EOF
open 192.168.0.108
user mohan hellohowru
binary
case
cd $HOME/prod/smdss/files/
mget req_detail*
bye
EOF
}
TEST
$./test
./test: line 16: syntax error: unexpected end of file
$
Why iam getting error.
Regards,
franky
|
|
|
|
|
Goto Forum:
Current Time: Fri May 02 20:04:50 CDT 2025
|