hi, i think i found another bug in lftp. it's in mirror command when a there is a site2site transfer.
if within a mirror command lftp tries to transfer a file from site1 to site2 and site2 sends a 553 Error code that it does not accept the file then the mirror command does not abort the transfer of that file. instead it goes into "mirror(0x63d110) enters state WAITING_FOR_TRANSFER" and is still waiting for the file transfer to finish. nevertheless it recognized the 553 message and tries to continue the mirror with next file. because the previous transfer is still waiting for a file it opens a new control channel to site2. the result is for each file it can not transfer a new connection to site2 is opened and all previous filetransfers are waiting in background until they timeout. which means if you try to transfer 150 files of which the first 100 fail with error 553 then it tries to open 100 parallel connections to site2 before it actually starts transfering anything.
