1

I have a problem with downloading files from a server, the problem is when I start to download files, download speed is good but after a couple of seconds, downloading speed decreases.

I am using aria2c and want to know if there is any way to pause and resume download every 30 seconds?

I have learned from another similar post, he created a script to solve the problem.

I don't know about JS, is there someone can help me build a script? Thanks a lot.

link to the post: Aria2c pause and resume every 5 seconds

Below is what he mentioned:

I solve my problem by using aria2c RPC INTERFACE.

aria2 provides JSON-RPC over HTTP and XML-RPC over HTTP interfaces that offer >basically the same functionality. aria2 also provides JSON-RPC over WebSocket

I write a script in Node.js which use aria2.pause and aria2.unpause for pause >and resume every 5 seconds

sankesi
  • 11
  • 2

0 Answers0