Find the answer to your Linux question:
Results 1 to 6 of 6
I'm trying to transfer a diretory, and all it's sub-directories and their contents, to another FTP server via SSH. I'm using CentOS Server 4.4. I can 'put' a single file, ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3

    Multiple File FTP Transfer

    I'm trying to transfer a diretory, and all it's sub-directories and their contents, to another FTP server via SSH. I'm using CentOS Server 4.4.

    I can 'put' a single file, but can't figure out how to do everything at once, which I need to do.

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Use a graphical FTP client like FileZilla or FireFTP
    It will add and process batch of commands.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    17
    Try Putty FTP if any of the above don't work out for you.

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I personally like rsync, and as you are using ssh already it should work well. You can use the -e switch with rsync to specify ssh as the protocol and allow it to mirror entire directories. It's great.

    Generally speaking though, if you are moving a lot of small files it's more efficient to tar them first as the extra overhead at the start and end of each small file can add up to be quite significant to the overall transaction.

  5. #5
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    how about using mget to get a directory
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  6. #6
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    mget will also work, but there is nothing easier than drag n drop.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

Posting Permissions

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