Hello, > Set xfer:max-redirections to some value > 0, and lftp will handle redirections > just fine.
just tried that and it doesn't work for bookmarks: See the example on bottom (just cut & paste it ... it doesn't produce any output. If you exchange 'open opensolaris' with 'open http://www.opensolaris.org/' it works. Note: I already had 'set xfer:max-redirections 10;' in system rc or the default value of lftp or whatever. lftp <<EOF 2> /dev/null bookmark add opensolaris http://www.opensolaris.org/ set dns:fatal-timeout 30; set net:timeout 30; set net:max-retries 1; set xfer:max-redirections 5; set cmd:fail-exit true; open opensolaris cat / EOF doesn't produce any output. Again if I kick the 'set cmd:fail-exit true;' line out it does produce output. Thomas
