When using ASCII mode wrong size of the file was used.
As a consequence lftp could hang in the end of transmission, when using the ASCII mode.
The source was modified to use correct file size when using ASCII mode.
As a result, the transfer now finishes successfully when using ASCII mode and lftp exits normally.
*** Bug 1203322 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.