Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer Augšupielādēt (mput) un lejupielāde (mget) Multiple Files automātiski FTP Transfer

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 vai File Transfer Protocol ir noderīga utilīta, kas ļauj pārsūtīt vairākus failus starp darbstaciju vai klientu ar FTP serveri. 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. Kaut arī mūsdienās GUI FTP klienta programmām, piemēram, WS-FTP un FileZilla ir ļoti izplatīts, bet DOS vai command-line interface FTP nāk lietderīgs un ērts, jo tā ir bez maksas un it sevišķi, ja jums nav interneta pieslēgums, lai lejupielādētu iepriekš FTP klientu, kā bāzes FTP funkcijas ir iebūvēts vairumā operētājsistēmas, ieskaitot Windows XP, Windows Vista, Windows 2003, Linux, Unix, FreeBSD utt.

In DOS or command line FTP, to transfer several files, you can use the commands mput (Multiple PUT) and mget (Multiple GET). DOS vai komandrindas FTP, pārskaitīt vairākiem failiem, varat izmantot komandu mput (Multiple izlikt) un mget (Multiple GET). 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. Šīs komandas darbojas tieši tāpat, kā nodot un saņemt izņemot komandas ļauj jums pārsūtīt vairākus failus viena komanda, norādot failus, ko vēlaties pārsūtīt ar aizstājējzīmes, piemēram, *, lai saņemtu visus failus.

However, mget and mput will prompt user to choose Yes or No before each file is tranfered to or from the server. Tomēr mget un mput liks lietotājs var izvēlēties: jā vai nē pirms katra faila tranfered vai no servera. 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. Tas ir traucējoši un laika izšķiešana, ja jums ir augšupielādēt vai lejupielādēt daudz failus, kā jūs apmeklēt un pievērst uzmanību FTP procesu un nospiediet Y katru failu.

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. Lai izvairītos no situācijas un automātiski nodošana failus, lai FTP sesija var apstrādāt bez uzraudzības, izmanto tūlītēju komandas pirms tam, izmantojot mput vai mget komandas. 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. Nekavējoties komanda pārslēgšana starp pamudinot, balstoties, ja ftp, liks izvēlēties jā vai nē pirms katra datne ir nodotas, un rosinātu off, kas kopē visus failus, pamudinot. By default, prompting is on. Pēc noklusējuma, pamudinot ir ieslēgts. So to continue to FTP transfer all files without asking, remember to issue prompt command before starting the transfer process. Tik turpināt FTP nodošana visus failus, neprasot, neaizmirstiet izdot nekavējoties komandu pirms uzsākt pārneses procesu. 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. Lūdz tai nav tūlītējas pirms nodošanas vai saņemt failus, pārliecinieties, ka jūsu esošajiem failiem darīt ir jābūt pašu faila nosaukumu, FTP būs pārrakstīt esošo failu, kas pastāv attiecībā uz mērķa direktoriju automātiski too. The command is simple, just a single word “prompt”: Komanda ir vienkārša, tikai vienu vārdu "nekavējoties"

ftp> prompt ftp> nekavējoties

Interactive mode off. Interaktīvā režīmā 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 komandrindas lietderība vajadzētu atgriezties Interactive mode off, kas ir FTP vairs pamudinot apmācībai lietotāju (liekot off) un vienmēr uzņemas Jā, lai neatkarīgi no darbībām, ja ir saņemt vai nodot failu vai pārrakstīt. If key in prompt again will turn prompting on. Ja atslēga ātri atkal kļūs pamudinot 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). Ar pamudinot on, tomēr jūs varat viegli pārtraukt FTP failu pārsūtīšanas sesiju, ja nodošana var nedarboties vai var paiet pārāk ilgs laiks, nospiežot Ctrl-C (^ C vai nospiediet un turiet kontroles un C taustiņi vienlaicīgi). FTP utility will ask: FTP lietderība lūgs:

Continue with mput?. Turpināt mput?.

Responding with the character n (for No) will stop the transfer process. Reaģē ar raksturu, n (NO), pārstās nodošanas procesā.

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


14 Responses to “Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer” 14 Atbildes uz "Upload (mput) un lejupielāde (mget) Multiple Files automātiski FTP Transfer"

  1. Santhana Santhana
    August 25th, 2009 19:18 Augusts 25, 2009 19:18
    14 14

    we can use runique OPTION in ftp. mēs varam izmantot runique iespēju ftp.

    runique Toggle storing of files on the local system with unique runique Pārslēgt uzglabāšana failus uz vietējā tīkla ar unikālu
    filenames. failu nosaukumi. If a file already exists with a name equal to Ja fails jau pastāv ar nosaukumu, kas vienāds ar
    the target local filename for a get or mget command, a .1 is izvietot vietējās filename, lai saņemtu vai mget komandas, ,1 ir
    appended to the name. pievieno vārdu. If the resulting name matches another Ja rodas nosaukums atbilst citu
    existing file, a .2 is appended to the original name. esošo failu, ,2 tiek pievienota sākotnējo nosaukumu. If Ja
    this process continues up to .99, an error message is Šis process turpinās līdz ,99, kļūdas ziņojums tiek
    printed, and the transfer does not take place. drukā, un nodošana nenotiek. ftp reports ftp ziņojumi
    the unique filename. unikālu faila nosaukumu. Note that runique does not affect Ņemiet vērā, ka runique neietekmē
    local files generated from a shell command (see below). failus, kas iegūti no shell komandu (sk. zemāk). The
    default value is off. Noklusējuma vērtība ir off.

  2. Santhana Santhana
    August 25th, 2009 18:25 Augusts 25, 2009 18:25
    13 13

    how to download multiple file without replaceing existing files using mget command kā lejupielādēt dažādus failu bez replaceing esošos failus, izmantojot mget komandu

  3. Shyam Shyam
    August 20th, 2009 05:54 Augusts 20, 2009 05:54
    12 12

    thanks a lot. thanks a lot.

    ftp> prompt ftp> nekavējoties

    Interactive mode off. Interaktīvā režīmā off.

    This command is very much useful command to get the bulk load. Šī komanda ir ļoti noderīgs komandas, lai iegūtu lielāko slodzi.

    To turn the prompting on… use it again. Lai ieslēgtu pamudinot uz ... lietot atkārtoti.

    ftp> prompt ftp> nekavējoties
    Interactive mode on. Interaktīvā režīmā.
    ftp> ftp>

  4. ksamy ksamy
    June 26th, 2009 19:06 Jūnijs 26, 2009 19:06
    11 11

    how to download multiple file without replaceing existing files using mget command kā lejupielādēt dažādus failu bez replaceing esošos failus, izmantojot mget komandu

  5. Harish Maliwal Harish Maliwal
    June 25th, 2009 17:04 Jūnijs 25, 2009 17:04
    10 10

    really helpful … patiešām noderīga ...

    thanks. pateicība.

  6. Jerry Jerry
    June 4th, 2009 21:23 4 jūnijs 2009 21:23
    9 9

    Lovely Hurling Lovely mezglošanas

  7. christer Christer
    May 9th, 2009 10:42 9 maijs 2009 10:42
    8 8

    Just what I needed Tikai to, ko man vajadzēja
    Thanks much Thanks daudz :)

  8. Reniery Reniery
    February 27th, 2009 02:34 Februāris 27, 2009 02:34
    7 7

    thanks a lot for the article, was very helpful thanks daudz par rakstu, bija ļoti noderīgi

  9. Alberto Alberto
    July 21st, 2008 03:54 Jūlijs 21, 2008 03:54
    6 6

    I love you. Es mīlu tevi. I had to move over 5000 files and I was doing like Homer Simpson with the bird pressing the “Y” button automatically. Man bija pārvietot vairāk nekā 5000 lietas un es to tāpat Homer Simpson ar putnu nospiežot "Y" pogu automātiski.

    Thank you. Paldies.

  10. John John
    July 12th, 2008 01:12 Jūlijs 12, 2008 01:12
    5 5

    Thank you for the 'prompt' tip to turn off prompting. Paldies par "ātru" tip lai izslēgtu pamudinot.
    Extremenly helpful. Extremenly noderīga.

  11. prabhjot prabhjot
    February 4th, 2008 23:49 4 februāris 2008 23:49
    4 4

    saved time, thanks alot for mput explanation. Ietaupīts laiks, pateicoties daudz par mput paskaidrojumu.

  12. neXus nexus
    January 19th, 2008 04:21 Janvāris 19, 2008 04:21
    3 3

    thanks pateicība :)

  13. henry Henry
    May 31st, 2007 10:50 Maijs 31, 2007 10:50
    2 2

    Thanks for the 'prompt' tip to turn off prompting. Paldies par "ātru" tip lai izslēgtu pamudinot.

  14. Rolf Aske Rolf Aske
    May 8th, 2007 02:27 8 maijs 2007 02:27
    1 1

    I found this article very helpful. I found this article very helpful. I have one problem doing the “mget” and that is that the script goes to “disconnect” and “bye” before the ftp been completed. Man ir viena problēma darot "mget", un ka ir tas, ka skripts iet uz "atvienot" un "Bye" pirms ftp pabeigšanas. How do I handle this? Kā man rīkoties ar šo? Thank you. Paldies.

    objMyFile.WriteLine (”prompt”) objMyFile.WriteLine ( "uzvedne")
    objMyFile.WriteLine (”mput ” & strFilePut) objMyFile.WriteLine ( "mput" & strFilePut)
    objMyFile.WriteLine (”disconnect”) objMyFile.WriteLine ( "atvienot")
    objMyFile.WriteLine (”bye”) objMyFile.WriteLine ( "Bye")
    objMyFile.Close objMyFile.Close

    Set objFSO = Nothing Set objFSO = Nothing
    Set objMyFile = Nothing Set objMyFile = Nothing

    'Run ftp script 'Run ftp script
    Set objShell = WScript.CreateObject( “WScript.Shell” ) Set objShell = WScript.CreateObject ( "WScript.Shell")
    objShell.Run (”ftp -s:” & chr(34) & strFTPScriptFileName & chr(34)) objShell.Run ( "ftp-s:" & chr (34) & strFTPScriptFileName & chr (34))
    Set objShell = Nothing Set objShell = Nothing

Leave a Reply 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> Jūs varat izmantot šos tagus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Saņemt informāciju par jaunāko komentārus, parakstīties uz My Digital Life Comments RSS feed Mana Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Ienākošo Meklēt noteikumi pants

ftp mget no prompt ftp mget nav tūlītēja - -- ftp mput ftp mput - -- mput mput - -- mget no prompt mget nav tūlītēja - -- mput no prompt mput nav tūlītēja - -- mget without prompt mget bez tūlītēja - -- ftp mput no prompt ftp mput nav tūlītēja - -- mget mget - -- mput without prompt mput bez tūlītēja - -- mput ftp mput ftp - -- ftp mget without prompt ftp mget bez tūlītēja - -- ftp mput without prompt ftp mput bez tūlītēja - -- mget yes to all mget jā visiem - -- mget all mget visi - -- ftp mget prompt ftp mget nekavējoties - -- ftp put multiple files ftp laiž vairākus failus - -- ftp mget ftp mget - -- ftp get multiple files ftp saņemt vairākus failus - -- mget prompt mget nekavējoties - -- mput yes to all mput jā visiem - -- mget *.* mget *.* - -- mget all files mget visus failus - -- ftp put overwrite ftp laiž pārrakstīt - -- ftp commands mget no prompt ftp komandas mget nav tūlītēja - -- ftp mget all files ftp mget visus failus - -- ftp multiple files without prompt ftp vairākus failus bez tūlītēja - -- ftp mput all ftp mput visi - -- ftp mget multiple files ftp mget vairākus failus - -- ftp commands mput ftp komandas mput - -- windows ftp mput logi ftp mput - -- download multiple files ftp lejuplādēt vairākus failus ftp - -- ftp mput prompt ftp mput nekavējoties - -- mput ftp command mput ftp komanda - -- ftp multiple put ftp vairāku laist - -- ftp mput multiple files ftp mput vairākus failus - -- mput all files mput visus failus - -- mget ftp no prompt mget ftp nav tūlītēja - -- mget command without prompt mget komandu bez tūlītēja - -- mput mput - -- ftp mput overwrite ftp mput pārrakstīt - -- mget no prompt ftp mget nav tūlītēja ftp - -- mput prompt mput nekavējoties - -- ftp mget all ftp mget visi - -- mput ftp no prompt mput ftp nav tūlītēja - -- ftp mput command ftp mput komanda - -- mget * mget * - -- ftp mget options no prompt ftp mget opcijas nav tūlītēja - -- mget mput mget mput - -- ftp mput all files ftp mput visus failus - -- ftp mput yes to all ftp mput jā visiem - --