Skip to content
Discussion options

You must be logged in to vote

Hi, you can use cli.get_dls() inside your existing on404 handler. It's the same method the control panel calls.

downloads = cli.get_dls()
# each row: [t0, t1, sent, size, path, conn, uname]

I tested it locally with a download running and it worked. Just make sure the file is over 4 MiB when testing, as smaller transfers don't show up in that list.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kamaeff
Comment options

Answer selected by kamaeff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants