Results 1 to 11 of 11
  1. #1
    Join Date
    Nov 2001
    Posts
    852

    FTP'ing question

    I cant remember how to do this, but using text, what is the command to FTP everything in a directory instead of 1 file at a time.

    Thanks.

  2. #2
    is it mget?

  3. #3
    Join Date
    Jul 2001
    Posts
    892

  4. #4
    Join Date
    Nov 2001
    Posts
    852
    I am going to try the mget/mput command and see if it does all the files. I think it always stopped after the first file, its kind of annoying and i was sure there was a way.

  5. #5
    You may need to do 'mget *' if you have files with no dot in them. You will have to hit 'y' for yes on each file (at least I have to) and it won't recurse and get subdirectories, you'll have to grab the contents individually

    Dave
    Glide Hosting
    Domain Names and Web Hosting
    Multi-processor, SCSI RAID, redundant, fast support
    www.glidehosting.com

  6. #6
    Join Date
    Nov 2001
    Posts
    852
    Yes i see that you do have to hit yes, which almost defeats the purpose, the idea is to FTP multiple large files without nursing it. I wonder if you can suppress the question.

  7. #7
    Join Date
    May 2002
    Location
    East Bay, CA
    Posts
    1,250
    First type the word "prompt" and then do mget or mput, then type "prompt" again if you want to turn it back on.

  8. #8
    I could be wrong, but I think if you start ftp with a -i switch, it supresses the "yes prompt".

  9. #9
    wow i was right... it was mget...

  10. #10
    whw: where should we send your prize?? hehe
    Glide Hosting
    Domain Names and Web Hosting
    Multi-processor, SCSI RAID, redundant, fast support
    www.glidehosting.com

  11. #11
    Join Date
    Dec 2001
    Location
    Netherlands
    Posts
    780
    the best and the easy way I recommend is using mc -- midnight commander.


    Experienced OpenStack Admin For Hire
    regular as admin0 on freenode IRC on #openstack and #openstack-ansible channels

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •