Downloading files from your put.io archive can be done with wget, it can be done unattended and you won't even have to initiate the job:
- Place all the files you would like to download in a folder on put.io (i.e /download).
- Create the script download.sh on your system.
- Run the script as a cron-job (crontab -e)
#!/bin/sh
wget --limit-rate=20k --no-check-certificat -c -nH -P /FOLDER/ -r --ftp-user=USERNAME --ftp-password=PASSWORD ftp://ftp.put.io/download/*--limit-rate=20k will limit bandwith to 20k
--no-check-certificat will skip certificate check
-c will make wget continue the download if interrupted
-nH will stop creating the ftp-path in your download-folder
-P /FOLDER/ tell wget where to put the downloaded files
-r recursive, so that even folders in download will be downloaded
--ftp-user=USERNAME Your username to put.io
--ftp-password=PASSWORD Your password to put.io (special characters need a backslash i.e PASS\!WORD if your password is PASS!WORD)
Add this to crontab:
0 1 * * * /path/to/script/download.shCron will now run the script every night at 01 AM. Tip: You can list all your cronjobs with crontab -l.

Kommentarer