I'm working on a bash script to automate FTP sessions, so I can run the same commands on multiple servers automatically)
lftp -u username,password ip_address -e **FILE_WITH_COMMANDS**
So the problem is that I somehow can't use a file with -f
because I get an error like this:
Unknown command `commands'.
Does anybody know how to get around this problem?
Thank you very much!