Closed Thread
Results 1 to 3 of 3

Thread: transfer a whole directory?

  1. #1
    WhyLinux is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    33
    Rep Power
    0

    transfer a whole directory?

    At work I'm trying to transfer a directory, and all its sub-directories and their contents, to another FTP server via SSH. I'm using Cent OS 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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Sysop_fb is offline Programmer
    Join Date
    Apr 2009
    Location
    Missouri
    Posts
    150
    Blog Entries
    2
    Rep Power
    12

    Re: transfer a whole directory?

    Well you could tar the directory.
    You could also setup a script.
    I usually use 'scp -r'
    I don't think 'put' for ssh comes with a recursive option but consort your local 'man'uals

  4. #3
    WhyLinux is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    33
    Rep Power
    0

    Re: transfer a whole directory?

    Well, that is a good idea.. zipping everything and transferring one file will be great.. I hope that because of the huge file it will not get timed out or something

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner Assembly, Directory Handling - The Current Directory (Win32, NASM)
    By RhetoricalRuvim in forum Assembly Tutorials
    Replies: 0
    Last Post: 08-27-2011, 04:51 PM
  2. Beginner Assembly, Directory Handling - Making A New Directory (Win32, NASM)
    By RhetoricalRuvim in forum Assembly Tutorials
    Replies: 0
    Last Post: 08-27-2011, 04:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

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