Bug 810217

Summary: lftp hangs using -a ascii mode
Product: Red Hat Enterprise Linux 5 Reporter: Siddharth <swaikar>
Component: lftpAssignee: Jiri Skala <jskala>
Status: CLOSED ERRATA QA Contact: David Kutálek <dkutalek>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9CC: aglotov, dkutalek, mdarade, ovasik, vgaikwad, zpytela
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: 5.9   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 842322 (view as bug list) Environment:
Last Closed: 2013-01-08 07:35:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed patch none

Description Siddharth 2012-04-05 11:42:16 UTC
Description of problem:
We can't transfer files using the ascii mode in lftp, the ftp server is a sftp.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server 5.5
lftp-3.7.11-4.el5_5.3

How reproducible:
Try to send some text file to server using lftp. 
The lftp command hangs after sending data.

Steps to Reproduce:
1. Create test.txt file
2. Run lftp in ascii mode to send data
$ lftp -u xx,xx sftp://xx.xx.xx.xx:22 -e "put -a test.txt; exit"
3. lftp sends the data and hangs
  
Actual results:
lftp hangs after sending data

Expected results:
lftp should not hang

Additional info:

Comment 1 RHEL Program Management 2012-04-05 11:46:49 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 RHEL Program Management 2012-04-05 12:06:54 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 4 mahaveer darade 2012-04-22 11:28:06 UTC
Created attachment 579277 [details]
proposed patch

Comment 9 errata-xmlrpc 2013-01-08 07:35:31 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-0071.html