Rapidgator.net - Bash upload script using cURL and API
$10-30 USD
Completed
Posted almost 5 years ago
$10-30 USD
Paid on delivery
Hi,
I need a bash script for uploading files to [login to view URL]
API is available at: [login to view URL]
Login details can be hard-coded in the script. Input will be file, output just download link on success or error message if upload fails.
Rapidgator has a rate limit for token obtaining, so if you receive message "Error: Frequent logins. Please wait 20 sec...", delay by 20 seconds and retry again.
Not sure it's possible to retain and reuse token for further script calls. If that's possible, then it's preferred way to obtaining a new token for each time the upload script runs.
Thanks