Skip to content

Instantly share code, notes, and snippets.

@phx
Created August 9, 2013 15:16
Show Gist options
  • Save phx/6194459 to your computer and use it in GitHub Desktop.
Save phx/6194459 to your computer and use it in GitHub Desktop.
download file over ssl connection using curl
#!/bin/bash
curl -o lgllc.tar.gz -b cookies.txt --user-agent "Mozilla/5.0" --user user:pass -k https://[host]:[port]/[filename]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment