Created
August 9, 2013 15:16
-
-
Save phx/6194459 to your computer and use it in GitHub Desktop.
download file over ssl connection using curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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