ftp cannot show correct transferred bytes when transferring a file in size of more than 4GiB.

Solution Verified - Updated -

Issue

  • In x86 architecture, ftp command cannot show correct transferred bytes when transferring a file in size of more than 4GiB.

    # dd if=/dev/zero of=5G bs=1000000 count=5000
    
    # ftp -v 192.168.122.100
    Connected to 192.168.122.100.
    220 (vsFTPd 2.0.5)
    530 Please login with USER and PASS.
    530 Please login with USER and PASS.
    KERBEROS_V4 rejected as an authentication type
    Name (192.168.122.100:root): rogan
    331 Please specify the password.
    Password:
    230 Login successful.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> put 5G
    local: 5G remote: 5G
    227 Entering Passive Mode (192,168,122,100,147,223)
    150 Ok to send data.
    226 File receive OK.
    705032704 bytes sent in 1.1e+02 seconds (6.1e+03 Kbytes/s)
    

Environment

  • Red Hat Enterprise Linux 5 from update 1 to update 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content