proxy with wget

https://askubuntu.com/questions/346649/how-do-i-force-wget-to-use-a-proxy-server-without-modifying-system-files

https://www.thegeekdiary.com/how-to-use-wget-to-download-file-via-proxy/

follow:

Without modifying your system files at /etc/wg…


This content originally appeared on DEV Community and was authored by karenpanahi

https://askubuntu.com/questions/346649/how-do-i-force-wget-to-use-a-proxy-server-without-modifying-system-files

https://www.thegeekdiary.com/how-to-use-wget-to-download-file-via-proxy/

follow:

Without modifying your system files at /etc/wgetrc you could create a file at your home directory ~/.wgetrc. It will enable you to modify wget settings locally at user level. Now write the following at ~/.wgetrc to use wget behind a proxy server:

use_proxy = on
http_proxy =  http://username:password@proxy.server.address:port/
https_proxy =  http://username:password@proxy.server.address:port/
ftp_proxy =  http://username:password@proxy.server.address:port/

If you do not have proxy username and password just write the proxy-address and port everywhere like,

http_proxy =  http://proxy.server.address:port/

example :

export http_proxy=http://110.232.67.44:55443/
export https_proxy=http://110.232.67.44:55443/
export ftp_proxy=http://110.232.67.44:55443/

for checking the environement variables you can do :

env | grep proxy 

This should work. I am assuming you already have proxy settings for all other applications.


This content originally appeared on DEV Community and was authored by karenpanahi


Print Share Comment Cite Upload Translate Updates
APA

karenpanahi | Sciencx (2021-11-12T17:09:20+00:00) proxy with wget. Retrieved from https://www.scien.cx/2021/11/12/proxy-with-wget/

MLA
" » proxy with wget." karenpanahi | Sciencx - Friday November 12, 2021, https://www.scien.cx/2021/11/12/proxy-with-wget/
HARVARD
karenpanahi | Sciencx Friday November 12, 2021 » proxy with wget., viewed ,<https://www.scien.cx/2021/11/12/proxy-with-wget/>
VANCOUVER
karenpanahi | Sciencx - » proxy with wget. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/12/proxy-with-wget/
CHICAGO
" » proxy with wget." karenpanahi | Sciencx - Accessed . https://www.scien.cx/2021/11/12/proxy-with-wget/
IEEE
" » proxy with wget." karenpanahi | Sciencx [Online]. Available: https://www.scien.cx/2021/11/12/proxy-with-wget/. [Accessed: ]
rf:citation
» proxy with wget | karenpanahi | Sciencx | https://www.scien.cx/2021/11/12/proxy-with-wget/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.