Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4k views
in Java FTP by (120 points)
Hi Everybody:

I need to develop a FTP client that use a limited Bandwidth.
I think I need to use the FTPClient class and setup a throttler but it's not straightforward.

Could anybody help me?

Best regards,
Pablo

1 Answer

0 votes
by (162k points)
edtFTPj/PRO includes bandwidth throttling, but if you don't want to pay anything, you can implement it in edtFTPj/Free fairly easily.

Basically, use the bytesTransferred callback to do a sleep if you are transferring too fast.

Categories

...