Script for ftp using hash

I’ve written a script that transfer files with ftp.
But there is a way to see at what point is the transfert ??
Manually in ftp I write:
hash
put … (at this point I can see the # that goes on),
There is a procedure in ruby with ftp module ???
Thanks.