I have been trying to run the following command but it gives me the following error but when I type command in terminal it runs, how to fix this
Command:
host=''
user=''
pass=''
path='path'
srcfile='file.txt'
lftp -u $user,$pass $host << --EOF--
set ssl:verify-certificate no
put $srcfile
quit
Error: