Wget with proxy

rajeshkumar created the topic: wget with proxy


Please find a following commmand which can used to wget with proxy….

export http_proxy=:3128 && wget --proxy-password= --proxy-user= -r -l 1 http://www.yahoo.com/

Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

scmuser replied the topic: Re: wget with proxy
GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.

GNU Wget has many features to make retrieving large files or mirroring entire web or FTP sites easy, including:

* Can resume aborted downloads, using REST and RANGE
* Can use filename wild cards and recursively mirror directories
* NLS-based message files for many different languages
* Optionally converts absolute links in downloaded documents to relative, so that downloaded documents may link to each other locally
* Runs on most UNIX-like operating systems as well as Microsoft Windows
* Supports HTTP proxies
* Supports HTTP cookies
* Supports persistent HTTP connections
* Unattended / background operation
* Uses local file timestamps to determine whether documents need to be re-downloaded when mirroring
* GNU Wget is distributed under the GNU General Public License.

Tagged :

Perforce Proxy upgrading issue

pradeep created the topic: Perforce Proxy upgrading issue
Do any one has any idea on how to read perforce proxy version files?

Is there any vast/major change went to perforce proxy cache database management so that older version of perforce proxy cache might conflict with a newer version?

Did anyone faced any issue during p4 proxy upgrade from 2007 to any recent proxy version?

– Pronita

rajeshkumar replied the topic: Re: Perforce Proxy upgrading issue
Hi Pronita,

I did migration between 2010.1 to 2011.2 but could not found any issues. Are you facing any issues, do share you experience with us.

However, its always best practice to referr release notes before up gradation..
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Start the Perforce Proxy without cache timestamp checking

rajeshkumar created the topic: Start the Perforce Proxy without cache timestamp checking
Problem: Perforce Proxy cache and timestamp issues.

Solution: start perforce proxy using “-k”

It is not in the System Administrator’s Guide or the output of “p4p
-h”. You will find the following as part of “p4 help undoc”:
p4p -k …
Start the Perforce Proxy without cache timestamp checking.
The Perforce Proxy normally uses a timestamp on cached revisions
to check that the right revision is delivered if an obliterate
deletes a revision that is subsequently replaced with an identically-
numbered revision. Using this option causes problems if head
revisions are obliterated. However, the proxy cache can be pre-
loaded loaded with the server’s archive files by specifying this
flag when you start the proxy.
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

How to Set or Configure Proxy in Linux and Windows System? – scmGalaxy

Setting the proxy configuration in Linux and Windows
If you use a proxy server or firewall, you may need to set the http_proxy environment variable in order to access some url from command-line.
Windows Command line
set http_proxy=http://your_proxy:your_port
set http_proxy=http://username:password@your_proxy:your_port
set https_proxy=https://your_proxy:your_port
set https_proxy=https://username:password@your_proxy:your_port
Windows GUI
1. Open the Control Panel and click the System icon.The System Properties dialog is displayed.
2. On the Advanced tab, click on Environment Variables. The Environment Variables dialog is displayed.
3. Click New in the System variables panel. The New Sytem Variable dialog is displayed.
4. Add http_proxy with the appropriate proxy information
Windows Registry
IE can set username and password proxies, so maybe setting it there and import does work
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 1
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyServer /t REG_SZ /d name:port
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyUser /t REG_SZ /d username
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyPass /t REG_SZ /d password
netsh winhttp import proxy source=ie
Command to enable proxy usage:
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 1 /f
Command to disable proxy usage:
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 0 /f
Command to change the proxy address:
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyServer /t REG_SZ /d proxyserveraddress:proxyport /f
export http_proxy=http://your_proxy:your_port
export http_proxy=http://username:password@your_proxy:your_port
export https_proxy=https://your_proxy:your_port
export https_proxy=https://username:password@your_proxy:your_port
export https_proxy=https://%username%:%password%@your_proxy:your_port
1. How to escape if password has a @ character
Ans – try %40 instead of @
2. What is the file name where it stroed the proxy in Ubantu
Ans – /etc/environment
3. How to set proxy inforamtin in Apt?
Ans – Adding following line to /etc/apt/apt.conf has solved the problem:
Acquire::http::proxy “”;
If file does not exist, create it. Do not confuse it with apt.conf.d directory.
4. How to set proxy inforamtin in linux Profile?
5. Why manual export failed to affect apt-get with the proxy info?
Ans – The reason your manual export failed to affect apt-get is because sudo ignores that environment variable by default (i.e. it doesn’t pass it on to the command). For one-off runs, you could do sudo env http_proxy= apt-get update. Otherwise, you could configure sudo to allow http_proxy to fall through.
Tagged : / / / / / / / / / / / / /

How to Access SVN when client is under proxy ?


The Subversion client can go through a proxy, if you configure it to do so.


First, edit your “servers” configuration file to indicate which proxy to use. The files location depends on your operating system.


On Linux or Unix it is located in the directory “~/.subversion”.


On Windows it is in “%APPDATA%\Subversion”. (Try “echo %APPDATA%”, note this is a hidden directory.)

Tagged : / / / / / / / / / / /