Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: SFTP Foreign upload\download status

by sdetweil (Sexton)
on Feb 15, 2013 at 05:29 UTC ( #1018844=note: print w/ replies, xml ) Need Help??


in reply to SFTP Foreign upload\download status

you can also let the code do the work.. I use a status bar type approach.. divide the file size by 80 (screen width) and then put up a fixed row of # chars (used for the status update)

$ftp->hash(\*STDOUT,int(filesize to download/80)); # download the new program files print '#' x (80); $ftp->get(filename);


Comment on Re: SFTP Foreign upload\download status
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2015-07-29 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls