[an error occurred while processing this directive]コマンドライン FTP でのトラブルシューティング[an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive]

TechNote

[an error occurred while processing this directive][an error occurred while processing this directive]

[an error occurred while processing this directive]コマンドライン FTP でのトラブルシューティング


内容 (What's Covered)

Windows や Mac OS X に常備されているコマンドライン FTP を使用することで、 Dreamweaver での FTP に対するトラブルシューティングを行なうことができます。以下ではコマンドライン FTP の使用方法を案内します。

メモ: この文書では、コマンドライン FTP の基本的な使用方法を案内します。詳細情報につきましては、ご使用の OS に付随するヘルプを参照してください。


Windows:

以下の手順をお試しいただくと、FTP サーバーに接続する際に使用するログイン名、およびパスワードが正しいか確認することが出来ます。

  1. コマンドライン FTP(コマンドプロンプト) を開くには、 [Start]>[ファイル名を指定して実行]と行き、[cmd]と記入し[OK]をクリックします。

    メモ: Windows 98/95/Me を使用している場合 は、[command]と記入しください。
  2. ローカルディレクトリをサイトファイルに変更するには、cd と記入してから続けてディレクトリへのパスを記入します。

    例: サイトファイルが c:¥sites¥my_site にある場合には、 cd c:¥sites¥my_site と記入します。
  3. コマンドプロンプト上で ftp + FTP サーバー名を記入してエンターを押します。



    メモ: サーバー名は Dreamweaver のサイト定義で指定した ftp ホスト名を記入します。

    例: ftp ftp.redhat.com
  4. 次に、ユーザー名を記入するよう促されますので FTP アカウントのユーザー名を記入してエンターを押します。

    メモ: anonymous FTP を FTP サーバーとして接続している場合は、特に決められたアカウント名は必要ありませんが、サーバーに接続するようftp (ftp は anonymous と同じ) で前もって設定したアカウントを使用してください。
  5. パスワードを記入するよう促されるので、パスワードを記入しエンターを押してください。



    メモ: セキュリティーの関係上、パスワードを記入してもスクリーン上には表示はされません。
  6. ロ グインに成功したことを示すメッセージが表示されます。これで、ftp サーバーは正常に動作していて、使用しているマシンから問題なく接続出来ることが確認できました。この状態から以下にリストされているような FTP コマンドとクエスチョンマーク (?) を記入しエンターを押すことで、FTPサーバーの状況を確認することが出来ます。

    メモ: FTP サーバーに正常に接続することが出来なかったとしても、これらの FTP コマンドを見ることはできます。

    よく使われる FTP コマンド:

    ls: directory listing equivalent to dir.
    ls -l: long directory listing, more detail.
    pwd: display the name of current directory.
    cd: change directory.
    lcd: change the local current directory.
    get: to download the file from the FTP server.
    put: to transfer file and place it on the FTP server.
    mget: to download multiple files from the FTP server.
    mput: to transfer multiple files to the FTP server.
    prompt: to turn on/off interactive mode.
    binary: to turn on binary mode.
    ascii: to turn on ascii mode.
    delete: to turn a file on FTP server.
    status: to display how the current FTP session is configured.
    mkdir: to make directory on FTP server.
    quit/close/bye/disconnect: to disconnect from the FTP server.

    メモ: 全てのFTP コマンドは大文字と小文字が区別されますので、小文字で記入してください。


Macintosh OS X:

  1. ターミナルを開くには、ハードドライブ > アプリケーション > ユーティリティ > ターミナル と選択します。
  2. Unix シェルプロンプト (ターミナル) 内でディレクトリを変更するには、cd + 変更先のディレクトリへのパスを記入します。
  3. ターミナル内で ftp + FTP ホスト名を記入し return キーを押します。
  4. Windows での手順 の 4 - 6 を行ないます。


追加情報

その他、Dreamwaever の FTP のトラブルシューティングに関する詳細情報につきましては、FTP のトラブルシューティング (Technote dw0335) をご参照ください。

この文書は、米国 Adobe Systems, Inc. の Command line FTP instructions* を元に作成されました。


関連ドキュメント (Related Records)

RELATED RECORDS

[an error occurred while processing this directive]

[an error occurred while processing this directive]
[an error occurred while processing this directive]

Creative Commons License

[an error occurred while processing this directive][an error occurred while processing this directive]

サポート情報検索 (Search Support)

[an error occurred while processing this directive]

ドキュメント情報 (Document Details)

最終更新 (Last Update): 2006-04-22
文書番号 (ID):228581
プラットフォーム (OS):Macintosh, Windows
http://go.adobe.com/kb/ts_228581_ja-jp

関連製品 (Product Affected)

dreamweaver
[an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive][an error occurred while processing this directive]