How To Use Wget Through Proxy wgetのプロキシを使用する方法を通じて
Wget is a super-useful utility to download pages and automate all types of web related tasks. wgetはとても便利なユーティリティをダウンロードするページやすべての種類のウェブ関連のタスクを自動化します。 It works for HTTP as well as FTP URL’s.これは、 HTTPだけでなく作品のFTP URLのです。 Here is a brief tutorial on how to use wget through proxy server.次に示すのは、簡単なチュートリアルを介しwgetのプロキシサーバーを使用する方法です。
To get wget to use a proxy, you must set up an environment variable before using wget.を取得wgetのプロキシを使用するには、環境変数をセットアップする必要がありますwgetの前に使用しています。 Type this at the command prompt / console:このタイプには、コマンドプロンプト/コンソール:
For Windows: Windowsの場合:
set http_proxy=http:// proxy.example.com : 8080 設定http_proxyを= http:// proxy.example.com : 8080
For Linux/Unix: for Linux / Unixの:
export http_proxy="http:// proxy.example.com : 8080 " 輸出http_proxyを=は" http:// proxy.example.com : 8080 "
Replace proxy.example.com with your actual proxy server. proxy.example.comにはお客様の実際のプロキシサーバーに置き換えています。
Replace 8080 with your actual proxy server port. 8080置き換えるにはお客様の実際のプロキシサーバーポートに接続します。
You can similarly use ftp_proxy to proxy ftp requests.同様にプロキシを使用することができます。 ftp_proxyをFTP要求します。 An example on Linux would be: Linux上の例のようになります:
export ftp_proxy="http:// proxy.example.com : 8080 " 輸出ftp_proxyを=は" http:// proxy.example.com : 8080 "
Then you should specify the following option in wget command line to turn the proxy behavior on:その後は、次のオプションを指定する必要がコマンドラインでwgetのプロキシの動作を有効にする:
–proxy=on -プロキシ=上
Alternatively you can use the following to turn it off:代わりに次のコードを使用することができます電源を切って:
–proxy=off -プロキシ=オフ
You can use –proxy-username=" user name " –proxy-passwd=" password " to set proxy user name and password where required.プロキシを使用することができます-ユーザー名= " ユーザー名 " -プロキシ- passwdの= " パスワード "を設定するプロキシのユーザー名とパスワードをどこが必要です。
Replace user name with your proxy server user name and password with your proxy server password.プロキシサーバーのユーザー名に置き換えて、ユーザー名とパスワードにしてプロキシサーバーのパスワードを入力します。 Another alternative is to specify them in http_proxy / ftp_proxy environment variable as follows:もう1つの方法を指定することではhttp_proxyを/環境変数ftp_proxyを以下のとおり:
export http_proxy="http:// username : password @ proxy.example.com : 8080 " 輸出http_proxyを=は" http://ユーザ名: password@proxy.example.com : 8080 "
Filed under提出されて Headline Newsニュースの見出し , 、 How Toどのように , 、 Tech Note技術のノート , 、 Webウェブ | |
| |
RSS 2.0 RSS 2.0を | |
Trackbackトラックバック this Article |この記事|
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |




January 17th, 2008 at 10:47 am 2008年1月17日の10:47時
Correct usage is:正しい利用方法は:
–proxy-user=\\\\\\\”user name\\\\\\\” –proxy-password=\\\\\\\”password\\\\\\\” -プロキシのユーザー= \ \ \ \ \ \ \ "ユーザー名\ \ \ \ \ \ \ " -プロキシ-パスワード= \ \ \ \ \ \ \ "パスワード\ \ \ \ \ \ \ "