in reply to monitoring upload progress in Net::FTP
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 |