Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Limiting bandwidth

by steves (Curate)
on Oct 26, 2004 at 00:48 UTC ( [id://402401]=note: print w/replies, xml ) Need Help??


in reply to Limiting bandwidth

Net::FTP supports a BlockSize setting that might have an effect if set very low. But I think that's doubtful.

I think my first try would be to call get with a filehandle as my local file (get supports either a file name or a filehandle). You could then presumably tie the filehandle to a homegrown object that implements a WRITE method that limits bandwidth by going to sleep periodically or something. Completely untried, but that would be fun to give a shot ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found