Hi,
It works on my side if I recreate your script. Can you post your full script and use code tags. I.e.: [code]script goes here[/code]
You might want to try using ftp instead of ncftp. Try the following:
Code:
#!/bin/bash
BAK="/opt/DBbackups"
NOW=$(date +"%d-%m-%Y")
FTPU="user"
FTPP="password"
FTPS="ipnumber"
### UPLOADING BACKUP FILES TO FTP SERVER ###
ftp -n $FTPS <<EOF
user $FTPU $FTPP
prompt
mkdir $NOW
cd $NOW
lcd $BAK
mput *
quit
EOF
Hope this helps.