lavv17/lftp — Issue #15: large script file breaks/splits commands
Author: gedge
Created: 2012-01-17 11:44:30+00:00
State: open

I am creating large script files (~12k) which I run with

lftp -f commands.ftp

but lftp cannot handle the size of the file and commands get cut short, and I get several errors like this:

Ambiguous command `m'.
Unknown command `irror'.

This sounds like a recurrence of a Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=82724
but I cannot find the patch for that.

I think the error is occurring around line 650 in CmdExec.cc but I don't have the time (or C++) to take it much further right now.

Happy to try patches, though. Please help.