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 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Slow sFTP Transfer Speed with SSH Connection (SSH2) SFTPは転送速度が遅いssh接続( SSH2用)
- Sending Huge files Without Uploading Anything via BoxCloud何か巨大なファイルをアップロード経由で送信するboxcloud
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) WordPressの最新版を自動的に更新の自動アップグレードの差込式( wpau )
- Enable Copy and Transfer of Data with Zune to Use as Portable Hard Diskをコピーしてデータの転送を有効にするにズーンポータブルハードディスクとして使用される
- Sync and Backup Office Documents and Spreadsheets to Google Docs with DocSyncer同期とバックアップのオフィス文書やスプレッドシートをGoogle Docsをdocsyncer
- Microsoft Released FTP7 for Windows Server 2008 RC0 2008年にリリースftp7をマイクロソフトのWindowsサーバーrc0
- Free 30GB Online Storage and Backup Spaces at Humyo無料オンラインストレージとバックアップ30GBとスペースが挿入されhumyo
- How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Foldersへのアクセスを許可する方法をFTPユーザのホームディレクトリのアウト( chroot環境)のファイルとフォルダを
- Wise-FTP 3 Full Commercial Version Free Download with Activation Serial Key賢明な- ftpを3完全な商用バージョンの活性化シリアルキーを無料でダウンロードできます
- RapidLeech v2.2 Free Download無料でダウンロードrapidleech v2.2













May 8th, 2007 02:27 2007年5月8日02:27
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 =何も設定
May 31st, 2007 10:50 2007年5月31日10:50
Thanks for the ‘prompt’ tip to turn off prompting.てくれてありがとう'というプロンプトが表示'ヒントを無効にするに上書きします。
January 19th, 2008 04:21 2008年1月19日04:21
thanksありがとう
February 4th, 2008 23:49 2008年2月4日23:49
saved time, thanks alot for mput explanation.保存時間、どうもありがとうmputの説明をします。
July 12th, 2008 01:12 2008年7月12日01:12
Thank you for the ‘prompt’ tip to turn off prompting.どうもありがとう'というプロンプトが表示'ヒントを無効にするに上書きします。
Extremenly helpful. extremenly helpful 。
July 21st, 2008 03:54 2008年7月21日03:54
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.ありがとうございました。