dissect - 1. To cut apart or separate (tissue), especially for anatomical study.
2. To examine, analyze, or criticize in minute detail
meaning to try first only one command (if it works) then in steps, add second command etc.
Your first part
Code:
lftp -c "debug 10; open -u admin,PASS $<;
is by my opinion not working
so you should work on this to get the login to the FTP and then adding the commands to copy
Code:
mput -O "/http/config www$(C_TOO....
I would try first:
Code:
# lftp -c "open HOSTNAME && user USER PASSWD && cd /http/config_dir && ls"
and see if you get logged in and then cd to /http/config ... <--- adjust this directory to where you want
&& ls should list the directory
and then lftp will exit/ return to command prompt
substitute HOSTNAME and USER PASSWD with your FTP site_address and username/password