Hi all,

I've been using lftp for several months now and find it extremely useful -
thanks Alex ;)

But - I have a question concerning queue handling.

Consider the follwing queues:

lftp [EMAIL PROTECTED]:/> jobs
[0] queue (ftp:[EMAIL PROTECTED]:21)
        Now executing: [4] mirror -c Test/Dir1
        Commands queued:
         1. mirror -c Test/Dir2
         2. mirror -c Test/Dir3
 [4] mirror -c Test/Dir1
  \mirror SubDir1
   \get Testfile1
        `Testfile1' at 3476260 (3%) xxK/s eta:Xm [Receiving data]
[2] queue (ftp:[EMAIL PROTECTED]:21)
        Now executing: [3] mirror -c Test/Dir1
        Commands queued:
         1. mirror -c Test/Dir2
         2. mirror -c Test/Dir3
 [3] mirror -c Test/Dir1
  \mirror SubDir1
   \get Testfile1
        `Testfile1' at 10114100 (17%) xxK/s eta:Xm [Receiving data]
lftp [EMAIL PROTECTED]:/>

I have connected to two different sites and built a queue on both... and
it's running fine!

But what do I do if I want to move command 2 in queue [2] in from of command
1? If the dirs were called something different I could maybe start using:
queue -m "*Dir3*" 1, but in this case two will fall into that expression.
And I can't seem to get: queue -d "*Dir3*"  to work at all. Only queue -d
with a number as parameter will work.

It seems like I'm missing something basic. When I try to: queue -d "*Dir2*",
even if only one thing queued is called that - if fails with the error:
"queue: No queue is active."

I would assume something like: "queue -m 2:2 1", where "2:" implies I'm
meaning the queue [2]. But I see nothing about this is the man pages - yet?
:)

I hope my example is elaborate and possible to understand. If not please let
me know and I will try even harder ;)

Thanks in advance

// Nicolai Schlenzig

PS: I'm still using lftp 2.4.4 since that was in the ports collection of my
FreeBSD, and will upgrade in nearest future. But from what I can see -
nothing has been changed the the "queue" account when I look in the
changelog.

Reply via email to