Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer Open (mput) ir Atsisiųsti (MGET) kelis failus automatiškai FTP perkėlimą

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 ar failų perdavimo protokolas yra naudingas įrankis, kuris leidžia jums perkelti kelis failus tarp darbo vietos ar klientas su FTP serverio. 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. Nors šiandien GUI FTP kliento programos, pavyzdžiui, WS-FTP, FileZilla yra labai dažnos, tačiau ar DOS komandinės eilutės FTP sąsaja būna naudinga ir patogu, nes ji nemokama, ir ypač tada, kai Jūs neturite interneto ryšio, kad atsisiųsti iš anksto FTP klientais, kaip pagrindinis FTP funkcionalumas yra integruotas į daugelį operacinių sistemų, įskaitant Windows XP, Windows Vista, Windows 2003, Linux, Unix, FreeBSD ir kt.

In DOS or command line FTP, to transfer several files, you can use the commands mput (Multiple PUT) and mget (Multiple GET). DOS komandinės eilutės, arba FTP, perkelti kelis failus, galite naudoti komandas mput (Keli PP) ir MGET (Keli 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. Šios komandos veikia taip pat kaip pateikti ir gauti, išskyrus komandas, leidžia jums perkelti kelis failus į vieną komandą, nurodydami failus, kuriuos norite perkelti su pakaitos simbolių, tokių kaip * gauti visus failus.

However, mget and mput will prompt user to choose Yes or No before each file is tranfered to or from the server. Tačiau MGET ir mput paskatins vartotojo pasirinkite Taip arba Ne prieš kiekvieno failo tranfered arba iš serverio. 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. Tai varginantis ir gaišti laiką, jei jūs turite nusiųsti arba parsisiųsti daug failų, kaip Jums reikia dalyvauti ir atkreipti dėmesį į FTP procesą ir paspauskite Y už kiekvieną bylą.

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. Siekiant išvengti situacijos, ir automatiškai perkelti failus taip, kad FTP sesijos galima apdoroti be priežiūros, naudojimo eilutę komandą prieš naudojant mput arba 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. Skubiai komanda renkasi tarp raginimų dėl, jei ftp bus greitai pasirinkti taip arba ne Prieš kiekvienas failas yra perkeliamas ir paskatinti išjungti, kuris kopijuoja visus failus be raginimo. By default, prompting is on. So to continue to FTP transfer all files without asking, remember to issue prompt command before starting the transfer process. Taigi toliau FTP perkelti visus failus be klausimo, atminkite, kad problema greitai komandą, prieš pradedant perkėlimo procesą. 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. Klauskite ji nėra greitai prieš išleidimą ar gauti failus, įsitikinkite, kad jūsų esamus failus, jie turi turėti tą patį failo vardą kaip FTP bus perrašyti esamus failus kad egzistuoja paskirties katalogo automatiškai per. The command is simple, just a single word “prompt”: Komanda yra paprasta, tik vieną žodį "greitai":

ftp> prompt ftp> greitas

Interactive mode off. Interaktyvi režimas išjungtas.

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 komandų eilutės įrankis turėtų grįžti Interaktyvi režimas išjungtas, kuris yra FTP nebebus raginimo už nurodymą iš vartotojų (raginimo off), ir visada bus mano Taip, kokia veikla, jeigu yra gauti arba įdėti failą ar perrašymui. If key in prompt again will turn prompting on. Jei raktas greitai vėl bus savo ruožtu paskatino į. 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). Su raginimu dėl Vis dėlto, jūs galite lengvai užbaigti FTP-File Transfer sesiją, jeigu pervedimo gali neveikti arba gali užtrukti pernelyg ilgai paspaudus Ctrl-C (^ C, arba paspauskite ir palaikykite valdymo ir C mygtukus vienu metu). FTP utility will ask: FTP naudingumas paklaus:

Continue with mput?. Tęsti mput?.

Responding with the character n (for No) will stop the transfer process. Reaguodama su požymio N (Ne) nebebus perdavimo procesas.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


14 Responses to “Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer” 14 Responses to "open (mput) ir Atsisiųsti (MGET) kelis failus automatiškai FTP Transfer"

  1. Santhana Santhana
    August 25th, 2009 19:18 25 rugpjūtis 2009 19:18
    14 14

    we can use runique OPTION in ftp. galime naudoti runique Option į FTP.

    runique Toggle storing of files on the local system with unique runique Perjungti saugoti failus vietos sistema su unikaliu
    filenames. varduose. If a file already exists with a name equal to Jei failas jau egzistuoja ir pavadinimas lygi
    the target local filename for a get or mget command, a .1 is tikslinių vietos failo vardą arba gauti MGET komandą ,1 yra
    appended to the name. pridedamas prie vardo. If the resulting name matches another Jei gautas pavadinimas sutampa su kito
    existing file, a .2 is appended to the original name. esamą failą, ,2 pridedama prie originalaus pavadinimo. If Jeigu
    this process continues up to .99, an error message is šis procesas tęsiasi iki ,99, klaidos pranešimas
    printed, and the transfer does not take place. išspausdinti ir perkelti nevyksta. ftp reports FTP ataskaitos
    the unique filename. unikalus failo vardas. Note that runique does not affect Atkreipkite dėmesį, kad runique neturi įtakos
    local files generated from a shell command (see below). vietinių rinkmenų, gaunamų iš apvalkalo komandų (žr. žemiau). The
    default value is off. Reikšmė pagal nutylėjimą yra išjungtas.

  2. Santhana Santhana
    August 25th, 2009 18:25 25 rugpjūtis 2009 18:25
    13 13

    how to download multiple file without replaceing existing files using mget command atsisiųsti keletą failas be replaceing esamus failus MGET komanda

  3. Shyam Shyam
    August 20th, 2009 05:54 20 rugpjūtis 2009 05:54
    12 12

    thanks a lot. Thanks a lot.

    ftp> prompt ftp> greitas

    Interactive mode off. Interaktyvi režimas išjungtas.

    This command is very much useful command to get the bulk load. Ši komanda yra labai naudinga komandą "birių apkrovą.

    To turn the prompting on… use it again. Norėdami įjungti paskatino į ... naudoti vėl.

    ftp> prompt ftp> greitas
    Interactive mode on. Interaktyvi režimu.
    ftp> ftp>

  4. ksamy ksamy
    June 26th, 2009 19:06 26 birželis 2009 19:06
    11 11

    how to download multiple file without replaceing existing files using mget command atsisiųsti keletą failas be replaceing esamus failus MGET komanda

  5. Harish Maliwal Harish Maliwal
    June 25th, 2009 17:04 25 birželis 2009 17:04
    10 10

    really helpful … tikrai naudinga ...

    thanks. ačiū.

  6. Jerry Jerry
    June 4th, 2009 21:23 4 birželis 2009 21:23
    9 9

    Lovely Hurling Gražus Airiškasis ritulys

  7. christer Christer
    May 9th, 2009 10:42 9 gegužė 2009 10:42
    8 8

    Just what I needed Just What I Needed
    Thanks much Ačiū labai :)

  8. Reniery Reniery
    February 27th, 2009 02:34 27 vasaris 2009 02:34
    7 7

    thanks a lot for the article, was very helpful Ačiū už straipsnį aikštelė, buvo labai naudinga

  9. Alberto Alberto
    July 21st, 2008 03:54 21 liepa 2008 03:54
    6 6

    I love you. Aš tave myliu. I had to move over 5000 files and I was doing like Homer Simpson with the bird pressing the “Y” button automatically. Man teko perkelti daugiau nei 5000 failų ir darau kaip Houmeris Simpsonas su paukščių paspausdami "Y" mygtukas automatiškai.

    Thank you. Ačiū.

  10. John John
    July 12th, 2008 01:12 12 liepa 2008 01:12
    5 5

    Thank you for the 'prompt' tip to turn off prompting. Ačiū už "Prompt" Patarimas išjungti raginimo.
    Extremenly helpful. Extremenly naudinga.

  11. prabhjot prabhjot
    February 4th, 2008 23:49 4 vasaris 2008 23:49
    4 4

    saved time, thanks alot for mput explanation. sutaupytą laiką, ačiū už paaiškinimą mput aikštelė.

  12. neXus nexus
    January 19th, 2008 04:21 19 sausis 2008 04:21
    3 3

    thanks ačiū :)

  13. henry Henry
    May 31st, 2007 10:50 31 gegužė 2007 10:50
    2 2

    Thanks for the 'prompt' tip to turn off prompting. Ačiū už "Prompt" Patarimas išjungti raginimo.

  14. Rolf Aske Rolf Aske
    May 8th, 2007 02:27 8 gegužė 2007 02:27
    1 1

    I found this article very helpful. Radau šį straipsnį labai naudinga. I have one problem doing the “mget” and that is that the script goes to “disconnect” and “bye” before the ftp been completed. Turiu viena problema daro "MGET" ir tai, kad scenarijų eina į "atsijungti" ir "bye" prieš FTP baigtas. How do I handle this? Kaip man elgtis šioje? Thank you. Ačiū.

    objMyFile.WriteLine (”prompt”) objMyFile.WriteLine ( "greitas")
    objMyFile.WriteLine (”mput ” & strFilePut) objMyFile.WriteLine ( "mput" & strFilePut)
    objMyFile.WriteLine (”disconnect”) objMyFile.WriteLine ( "atsijungti")
    objMyFile.WriteLine (”bye”) objMyFile.WriteLine ( "bye")
    objMyFile.Close objMyFile.Close

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

    'Run ftp script "Vykdyti FTP scenarijų
    Set objShell = WScript.CreateObject( “WScript.Shell” ) Nustatyti 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 Nustatyti 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> Galite naudoti šiuos žodžius: <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. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

ftp mget no prompt FTP MGET ne greitai - -- ftp mput FTP mput - -- mget no prompt MGET ne greitai - -- mput mput - -- mput no prompt mput ne greitai - -- mget without prompt MGET be eilutę - -- ftp mput no prompt FTP mput ne greitai - -- mget MGET - -- mput without prompt mput be eilutę - -- ftp mget prompt FTP MGET greitai - -- mget yes to all MGET Taip, visus - -- ftp put multiple files FTP pateikti kelis failus - -- mget all MGET visus - -- ftp mget without prompt FTP MGET be eilutę - -- ftp mput without prompt FTP mput be eilutę - -- mput ftp mput FTP - -- ftp mget FTP MGET - -- mget all files MGET visus failus - -- ftp get multiple files FTP gauti kelis failus - -- ftp mget multiple files FTP MGET kelis failus - -- mget prompt MGET greitai - -- ftp commands mput FTP komandas mput - -- ftp multiple put FTP kelias įdėti - -- mput yes to all mput Taip, visus - -- ftp mput multiple files FTP mput kelis failus - -- mget *.* MGET *.* - -- ftp mget all FTP MGET visus - -- mget ftp no prompt MGET FTP ne greitai - -- ftp commands mget no prompt FTP komandas MGET ne greitai - -- ftp mput yes to all FTP mput Taip, visus - -- mput prompt mput greitai - -- windows ftp mput Windows FTP mput - -- ftp multiple files without prompt FTP kelis failus be eilutę - -- ftp mput prompt FTP mput greitai - -- ftp mput FTP mput - -- linux mput Linux mput - -- mput mput - -- ftp mput overwrite FTP mput perrašyti - -- ftp mput all files FTP mput visus failus - -- mput without prompting mput neraginant - -- mput all files mput visus failus - -- WINDOWS FTP MGET WINDOWS FTP MGET - -- mget without prompting MGET neraginant - -- mput ftp command mput FTP - -- ftp put overwrite FTP įdėti perrašyti - -- mget * MGET * - -- mget ftp MGET FTP - -- mget overwrite MGET perrašyti - -- ftp command mput FTP mput - -- mget prompt off MGET greitai išjungti - --