I am using a bash script in Linux to transfer files to a server. My script is running from cron and I have directed output to a file but I cannot know from logs if the file has been transferred to B server or not.

This is the cron:

```
1>>/home/owais/script_test/logs/res_sim_script.logs 2>>/home/owais/script_test/logs/res_sim.logs

```

And the FTP is as below:

```none
cd ${dir}

ftp -n $HOST <<END_SCRIPT

quote USER $USER

quote PASS $PASSWD

lcd $dir

cd $destDir

bin

prompt

put FILENAME

bye

```

The only thing that I get in the logs is:

```
Local directory now Directory_Name

Interactive mode off.

```