Yes,
Try something like this:
lftp -e 'set ssl:verify-certificate no && open ftp://login:[EMAIL PROTECTED]:5678 && mirror -R -c directory && exit'
Does this help?
On Fri, 8 Oct 2004, Erin D. Hughes wrote:
Hello, I am trying to cron a lftp job that I need to run frequently and seem to be having some difficulty. I would like to ask you for some assistance. I found this address at the end of the version information.
Lftp Version 2.6.3 OS Red Hat ES3
Here is a sample of my script lftp -u username , Password stage.XYZ.co.jp <<EOF cd /MXpowerjp # remote directory on webserver
# local directory on your computer ! I left blank I want it to over write to the current dir ! mirror -cnv html # Upload the files to remote directory quit 0 # Drop the connection EOF
I can connect to my remote server and perform any command I like without problem. But I seem to be having a authentication problem in my script. It keeps giving me a 530 login error.
The above example came from the following sources. I also tried to visit the lftp home page but it was unavailable. I am sorry to contact you off list but I believe I have exhausted every avenue to reach a solution.
http://arky.port5.com/cgi-bin/esp?PAGE=/writings/articles/lftp.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg00141.html http://www.linuxplanet.com/linuxplanet/tutorials/4809/2/
Erin D. Hughes T-Mark 042-223-8310 [EMAIL PROTECTED]
