Monthly Archives: January 2011

Resume a download behind a Login Form

Sometimes, when you’re downloading a large file from a NAS or website which requires you to login via an HTML form, you need to retrieve the website cookie into curl before resuming the download. curl -c ‘/tmp/cookie’ -d ‘username=USERNAME_HERE&passwd=PASSWORD_HERE’ http://full.url.to/login_form.cgi … Continue reading

Posted in Uncategorized | Comments Off