How to monitor file transfer progress in FTP

When you are transferring a large file using the ftp command line tool, you are not really sure if the transfer is going on or not. The prompt take hours to return with success or failure message.

A very simple way to monitor the transfer is to use hash command in the FTP prompt.

Example:

$ ftp <host>
user: <user name>
password: <pass>
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> get a_very_large_file
200 PORT command okay.
150 Opening data connection for a_very_large_file
########################################
226 Transfer complete.

Comments

Popular posts from this blog

OS/DB Migration - CMD. STR, TOC, EXT, R3load, DDLDBS.TPL and more

Fixing Inconsistent Table - Table activation fails due to inconsistency between DD and DB

301 Redirect Using SAP Web Dispatcher