mcrapet / plowshare

Command-line tool and engine for managing sharing websites
GNU General Public License v3.0
847 stars 88 forks source link

allow concurrent downloading? #54

Closed chienb closed 7 years ago

chienb commented 8 years ago

Is it possible to allow concurrent downloading as of this version? Any plans to add the ability to transload links further down the roadmap? It would be great if the files aren't downloaded onto the server as waiting for large split zip files to finish takes a while.

sasha- commented 8 years ago

If you have SSH access to the server you can just use it as SOCKS proxy and download files to your local machine. On your machine you would open tunnel like this: ssh _user_@_server_ -C -D 9999 # use any high unused port here Then use plowshare to download the file

export http_proxy=socks5://localhost:9999 # the port where you opened the tunnel
plowdown _file_name_

If you have access to multiple servers, you can open multiple tunnels for concurrent downloads.

mcrapet commented 8 years ago

Use shell ability to put processes in background:

$ plowdown -q http://....  &
$ plowdown -q http://....  &

You can also use screen or tmux it's handy!