IBM Support

Monitoring progress of FTP using Linux

Question & Answer


Question

How do I monitor the progress of my FTP process ?

Answer

When attempting to either get or put a file via a Linux FTP process, you can display progress of the file transfer by entering a hash or tick prior to issuing the get/put.

Using hash, a '#' is returned to the screen for every 1024K transferred. This may be less desirable since you may get many screens full of '#' characters. For example:

    ftp> bin
    200 Type set to I.
    ftp> hash
    Hash mark printing On ftp: (2048 bytes/hash mark) .
    ftp> get setup.exe
    200 PORT Command successful.
    150 Opening BINARY mode data connection for setup.exe (32860506 Bytes).
    ################################################################################
    ################################################################################


Using tick, you are presented with an 'odometer' displaying the number of bytes transferred. For example, you may see output similar to:

    ftp> bin
    200 Type set to I.
    ftp> tick
    Tick counter printing on (10240 bytes/tick increment).
    ftp> get setup.exe
    local: setup.exe remote: setup.exe
    227 Entering Passive Mode (172,16,99,5,151,87)
    150 Opening BINARY mode data connection for setup.exe (32860506 Bytes).
    Bytes transferred: 9074088


The 'Bytes transferred' value is continuously updated. This may be a more desirable method as it concisely describes the amount of data transferred.
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ020221

Document Information

More support for:
IBM PureData System

Software version:
1.0.0

Document number:
465337

Modified date:
17 October 2019

UID

swg21573309