in reply to FTP Transfer Status
Hash - If given a reference to a file handle (e.g., "\*STDERR"), print + hash marks (#) on that filehandle every 1024 bytes.
Maybe you could use this to gather progress?
Update:Net::FTP is writen in OO-style. Maybe you could write your own subclass, and simply inherit from Net::FTP? Implement your own get() method that reports back the transfer progress you need.
Update:Looks like you don't even need to do that.. instead of calling the get() method, you can call retr() directly, and handle all the file reading/writing yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: FTP Transfer Status
by pg (Canon) on Mar 11, 2003 at 03:24 UTC |