Off Topic Using remote linux server to download links (OF) and upload to file hosts possible?

My home internet is not good at all, wouldn't be able to download all the content that I have access to and then upload it to file hosts.

Looking to see if its possible to do it from a remote linux server, I know I could use `wget` for downloading, but not too sure how to go about uploading them to file hosts that are "secure" for posting on here.

Anyway, if anyone has done this or has any ideas, please let me know!
 
I use megatools to upload/download to and from mega.nz from the command line. When I used to upload to dmca.gripe, I would use the shell script below. I don't use dmca.gripe anymore since it is quite slow, but you can probably use curl like this for other similar sites with just a little bit of work. Lastly, depending on the amount of bandwidth you have available on your remote server, you could also run a bittorrent client on it and share magnet links here on the forum for torrents that you create.

Bash:
#!/bin/sh -eu

curl 'https://dmca.gripe/api/upload' \
    -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0' \
    -H 'Accept: application/json' -H 'Accept-Language: en-US,en;q=0.5' \
    --compressed -H 'Referer: https://dmca.gripe/' -H 'Cache-Control: no-cache' \
    -H 'X-Requested-With: XMLHttpRequest' -H 'token: your_token_here' \
    -H 'Connection: keep-alive' -F "files[]=@$1" --progress-bar
 
Comment