Add new function to work out length of transfer from command.
Authored by: gowdy 2000-08-02
Parent: [r325]
Child: [r327]