Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transferアップロード( mput )をダウンロード( mget )複数のファイルを自動的にFTP転送

FTP or File Transfer Protocol is a useful utility that allows you to transfer several files between a workstation or client with the FTP server. FTPまたはファイル転送プロトコルは、便利なユーティリティいくつかのファイルを転送することができるワークステーションまたはクライアントの間で、 FTPサーバーにします。 Although nowadays GUI FTP client programs such as WS-Ftp and FileZilla are very common, but DOS or command-line FTP interface comes in useful and handy as it’s free and especially when you don’t have Internet connection to download the advance FTP clients, as basic FTP functionalities are built-in into most operating system including Windows XP, Windows Vista, Windows 2003, Linux, Unix, FreeBSD and so on. FTPクライアントは今日のようなプログラムのGUI ws - ftpとfilezillaは非常に共通の、しかし、 DOSやコマンドラインFTPインターフェイスには役に立つとハンディas it痴無料とする必要はありません特にインターネットに接続してダウンロードして事前のFTPクライアントでは、 FTPの基本的な機能としては、ビルトインを含むほとんどのオペレーティングシステムのWindows XP 、 Windows Vistaには、 Windows 2003 、のLinux 、 UNIXは、 FreeBSDおよびようになります。

In DOS or command line FTP, to transfer several files, you can use the commands mput (Multiple PUT) and mget (Multiple GET). DOSやコマンドラインでのFTP 、いくつかのファイルを転送する、 mputコマンドを使用することができます(複数置く)とmget (複数の取得) 。 These commands work exactly like put and get except the commands allow you to transfer multiple files in a single command by specifying the files that you want to transfer with wildcards such as * to get all files.これらのコマンドと全く同様に仕事以外のコマンドを使用すると取得で複数のファイルを転送する、 1つのコマンドを指定してファイルを転送することとしたいなどのワイルドカード*すべてのファイルを取得します。

However, mget and mput will prompt user to choose Yes or No before each file is tranfered to or from the server.しかし、 mget mputは、プロンプトでユーザーを選択するとはい]または[いいえ前に各ファイルは、サーバーからのtranferedしたりします。 It’s troublesome and time wasting if you have to upload or download a lot of files as you have to attend and pay attention to the FTP process and press Y for each and every file.面倒なことと時間を浪費するのをアップロードしたりすれば多くのファイルをダウンロードする必要が出席し、注意を払うには、 FTPの各プロセスとYキーを押し、すべてのファイルです。

To avoid the situation and automatically transfer the files so that the FTP session can process unattended, use the prompt command before using the mput or mget commands.その状況を避けるためにすると、自動的にファイルの転送は、 FTPセッションが処理できるように無人で、コマンドプロンプトを使用してmputまたはmgetコマンドを使用する前にします。 The prompt command toggles between prompting on, where ftp will prompt you to choose yes or no before each file is transfered, and prompting off, which will copy all files without prompting.コマンドプロンプト上のプロンプトの間で切り替わる、ここでftpはプロンプトが表示さはい]または[いいえを選択する前に、各ファイルが転送、およびプロンプトオフ、これは、コピーのすべてのファイルを上書きします。 By default, prompting is on.デフォルトでは、プロンプトは、 onです。 So to continue to FTP transfer all files without asking, remember to issue prompt command before starting the transfer process. FTP転送を継続するためのすべてのファイルを断りもなく、覚えてコマンドプロンプトを発行するプロセスを開始する前に転送します。 Ask it do not prompt before putting or getting the files, make sure that your existing files do have have the same file name as FTP will overwrite the existing files that exists on the destination directory automatically too.プロンプトを要求する前に置くことはありませんかのファイルを入手することを確認してお客様の既存のファイルを行うには、同じファイル名としてftpは、既存のファイルを上書きコピー先のディレクトリに存在することを自動的に判明しました。 The command is simple, just a single word “prompt”:このコマンドは、簡単で、わずか、 1つの単語"プロンプトで" :

ftp> prompt FTPの>プロンプト

Interactive mode off.インタラクティブモードをオフになります。

FTP command line utility should return Interactive mode off, which is FTP will no longer prompting for instruction from users (prompting off) and will always assumes Yes to whatever actions, in case is get or put the file or overwriting. ftpコマンドラインユーティリティを返す必要がインタラクティブモードオフ、 FTPのは、もはやこれはユーザからの命令を要求(プロンプトオフ)とは、常にどんな行動を想定はい]を、問題が発生した場合は、上書きされたファイルまたは取得または置く。 If key in prompt again will turn prompting on.プロンプトでのキーを再度有効の場合は、上書きされます。 With prompting on, however, you can easily terminate the FTP file transfer session if the transfer might not work or might take too long by pressing Ctrl-C (^c or press and hold the Control and C keys simultaneously).プロンプト上で、しかし、簡単にすることができます。 FTPファイル転送セッションを終了するかもしれないしない場合は、転送時間がかかりすぎるかもしれないを押したり、 CTRL - Cで( ^ Cまたはを押したまま、コントロールとCキーを同時に押します) 。 FTP utility will ask: ftpユーティリティを求める:

Continue with mput?.続行mputですか?です。

Responding with the character n (for No) will stop the transfer process.応答性の文字n (いいえ)は、プロセスを停止して転送します。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。

Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。



6 Responses to “Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer” 6レスポンスを"アップロード( mput )をダウンロード( mget )複数のファイルを自動的にFTP転送"

  1. Rolf Askeロルフアスク
    May 8th, 2007 02:27 2007年5月8日02:27
    1

    I found this article very helpful.この記事は非常にhelpful私が見つかりました。 I have one problem doing the “mget” and that is that the script goes to “disconnect” and “bye” before the ftp been completed.私は1つの問題を抱えている" mget "とスクリプトが行くのは、 "切断"と"不戦"のFTPする前に完了しています。 How do I handle this?このハンドルはどうすればよいですか? Thank you.ありがとうございました。

    objMyFile.WriteLine (”prompt”) objmyfile.writeline ( "プロンプト" )
    objMyFile.WriteLine (”mput ” & strFilePut) objmyfile.writeline ( " mput " & strfileput )
    objMyFile.WriteLine (”disconnect”) objmyfile.writeline ( "切断" )
    objMyFile.WriteLine (”bye”) objmyfile.writeline ( "不戦" )
    objMyFile.Close objmyfile.close

    Set objFSO = Nothing objfso =何も設定
    Set objMyFile = Nothing objmyfile =何も設定

    ‘Run ftp script ' FTPのスクリプトを実行
    Set objShell = WScript.CreateObject( “WScript.Shell” )設定objshell = wscript.createobject ( " wscript.shell " )
    objShell.Run (”ftp -s:” & chr(34) & strFTPScriptFileName & chr(34)) objshell.run ( "のFTP -秒: " & chr ( 34 ) & strftpscriptfilename & chr ( 34 ) )
    Set objShell = Nothing objshell =何も設定

  2. henryヘンリー
    May 31st, 2007 10:50 2007年5月31日10:50
    2

    Thanks for the ‘prompt’ tip to turn off prompting.てくれてありがとう'というプロンプトが表示'ヒントを無効にするに上書きします。

  3. neXusネクサス
    January 19th, 2008 04:21 2008年1月19日04:21
    3 4

    thanksありがとう : )

  4. prabhjot
    February 4th, 2008 23:49 2008年2月4日23:49
    4

    saved time, thanks alot for mput explanation.保存時間、どうもありがとうmputの説明をします。

  5. Johnジョン
    July 12th, 2008 01:12 2008年7月12日01:12
    5

    Thank you for the ‘prompt’ tip to turn off prompting.どうもありがとう'というプロンプトが表示'ヒントを無効にするに上書きします。
    Extremenly helpful. extremenly helpful 。

  6. Albertoアルベルト
    July 21st, 2008 03:54 2008年7月21日03:54
    6

    I love you.愛しています。 I had to move over 5000 files and I was doing like Homer Simpson with the bird pressing the “Y” button automatically.私は5000以上のファイルを移動すると私は自分の鳥のようなホーマーシンプソン押して、 " y "のボタンをクリック自動的に起動します。

    Thank you.ありがとうございました。

Leave a Reply残して返信

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

mput mput - - mget mget - - ftp mget FTPのmget - - mget no prompt mgetのプロンプト - - ftp mput FTPのmput - - ftp mput no prompt mputのプロンプトのFTP - - mget prompt mgetプロンプト - - mput no prompt mputのプロンプト - - mput * mput * - - mget yes to all mgetはい]をすべて - - mput mput - - rapidshare multiple 複数のrapidshare - - rapidshare multiple download rapidshare 、複数のダウンロード - - mget yes mgetはい - - mput without prompt プロンプトmputなし - - mput yes to all すべてのmputはい]をクリック - - ftp mget no prompt mgetのプロンプトのFTP - - mget mget - - download multiple rapidshare files 複数のファイルをダウンロードrapidshare - - downloading multiple files from rapidshare rapidshareから複数のファイルをダウンロード - - mget without prompt mgetなしプロンプト - - mget * mget * - - mput all files mputのすべてのファイル - - ftp mput yes to all すべてのFTP mputはい]をクリック - - ftp put overwrite のFTPに上書き - - rapidshare ftp rapidshareのFTP - - rapidshare multi download rapidshareマルチダウンロード - - download multiple files from rapidshare 複数のファイルをダウンロードrapidshare - - download multiple rapidshare ダウンロード複数のrapidshare - - HOW TO DOWNload multiple files from rapidshare 複数のファイルをダウンロードする方法よりrapidshare - - ftp mget yes to all すべてのFTP mgetはい]をクリック - - rapidshare multiple downloads 複数回のダウンロードrapidshare - - mget all files すべてのファイルをmget - - ftp mput overwrite mputのFTP上書き - - ftp mget FTPのmget - - multiple rapidshare 複数のrapidshare - - mget ftp mgetのFTP - - mput prompt mputプロンプト - - mput yes mputはい - - all すべての - - mput multiple files mput複数のファイル - - ftp mput yes FTPのmputはい - - mput overwrite mput上書き - - mget interactive mgetインタラクティブ - - downloading multiple rapidshare files 複数のファイルをダウンロードrapidshare - - mget overwrite mget上書き - - download multiple files rapidshare 複数のファイルをダウンロードrapidshare - - ftp mget without prompt プロンプトのFTP mgetなし - - rapidshare multi rapidshareマルチ - - mget *.* mget *.* - - mget all すべてのmget - - ftp mput prompt mputプロンプトのFTP - - mget no ask mgetない要求 - - mget noprompt mget noprompt - - ftp mget overwrite 上書きFTPのmget - - mget without asking 断りもなくmget - - MGet download mgetダウンロード - - how to download multiple rapidshare files 複数のファイルのダウンロード方法をrapidshare - - mput all すべてのmput - - mput no ask mputの依頼 - - mput interactive mputインタラクティブ - - multiple download rapidshare 複数のダウンロードrapidshare - - multiple downloads from rapidshare 複数回のダウンロードよりrapidshare - - ftp upload multiple files 複数のファイルのFTPアップロード - - ftp multiple put FTPの複数置く - - how to download multiple rapidshare 複数のrapidshareをダウンロードする方法 - - mget windows mgetのWindows - - mput noprompt mput noprompt - - mget mput mget mput - - multiple rapidshare downloads 複数のrapidshareのダウンロード - - ftp mget yes FTPのmgetはい - - ftp put multiple files FTPの複数のファイルを置く - - ftp mput FTPのmput - - prompt mget プロンプトmget - - mput ftp no prompt mputのFTPのプロンプト - -