in reply to monitoring upload progress in Net::FTP

peterg22,

You can use Net::FTP's hash method to output a '#' to a particular filehandle for every x number of bytes (1024 default). For example:

$ftp->hash( \*STDERR); $ftp->put($ZipFile, $TargetZip);

Should do the trick. Sure it's not pretty but it is a good visual clue that somethings going on. perldoc Net::FTP for more info.

-derby

Replies are listed 'Best First'.
Re: Re: monitoring upload progress in Net::FTP
by Anonymous Monk on Jan 10, 2002 at 21:25 UTC
    Aha!

    Can't locate auto/Net/FTP/hash.al in @INC...

    I remember now why I didn't go down this route.. time to go and hassle the SysAdmins to get a later version.. Thanks for the rapid replies!