before the open put your sets in there

lftp -e 'set net:connect 1; set net:option2 50; open ftp://' etc

Justin.

On Mon, 12 Feb 2007, Amilcar Azevedo wrote:



Hi

I am running the following command and get continuous retries if the
file does not exist on the server I need it to try 2 times at the most
and then disconnect and close ftp session anyone know how this can be
done

I have changed the pwd and host just for security purposes otherwise
this is the exact command I am using any suggestions would be greatly
appreciated



lftp -c 'open -u ABCDEFG:123456  ftps://mysite.com -p 6366 -e "set
net:max-retries 2;set -a;debug;cdreceive;quote site parm=;get byparm -o
02121552.rcd
;ls"'





Reply via email to