lftp -c "debug 10; open -u admin,PASS $<; rm -r -f /http; mkdir /http/config; mput -O /http/config www$(C_TOOL)/*;"
suppose i am giving these command in makefile i am facing following error.
---- Resolving host address...
---- 1 address found: 192.168.5.5
---- dns cache hit
---- Connecting to proxy 192.168.5.5 (192.168.5.5) port 3128
i cant able to download goes to hanging situation throwing socket timed out.
can u tell us what the problem.
first dissect the command line you are passing to LFTP:
and add a siteaddress to the command line, so it will know where to connect (now there is no site/IP address to connect to)
note: I'm using && between the commands to execute not ";" like you
I think your syntax may be wrong (using open -u admin,PASS $<;) but I can be wrong too.
lftp script example
how to dis-select the ftp in command line.
i update the changes what you have given but still i am facing the same error.
its not working.
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
so you should work on this to get the login to the FTP and then adding the commands to copy
&& 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
|All times are GMT -5. The time now is 09:48 PM.|