-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcurl
More file actions
21 lines (19 loc) · 940 Bytes
/
curl
File metadata and controls
21 lines (19 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
http://conqueringthecommandline.com/book/curl
http://joelpm.com/curl/tools/2010/06/17/curl-with-cookies-and-headers.html
Q: how to get curl to work around here? (ILM)
A:
The proxy is proxy.lucasfilm.com:8080 .
So,
setenv http_proxy proxy.lucasfilm.com:8080
setenv https_proxy proxy.lucasfilm.com:8080
I think that applies to both wget and perl.
Then, could use --proxy-user dhatch --proxy-passwd 'MY_PASSWORD_HERE' http://google.com/,
but don't want that showing up in the process table, so instead,
put this in my ~/.wgetrc (and chmod 600 it):
proxy-user = dhatch
proxy-passwd = MY_PASSWORD_HERE
http-user = my_website_username_here
http-passwd = MY_WEBSITE_PASSWORD_HERE
For using curl, put this in my ~/.curlrc (and chmod 600 it):
proxy-user = dhatch:MY_PASSWORD_HERE
user = my_website_username_here:MY_WEBSITE_PASSWORD_HERE