The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM


Security Anything involving computer security goes here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Recursive FTP -- here at last. Perderabo Shell Programming and Scripting 48 09-08-2008 07:56 AM
Recursive pid script jbarnhar Shell Programming and Scripting 3 05-02-2007 12:14 PM
recursive sorting fermisoft UNIX for Advanced & Expert Users 1 08-16-2005 05:46 AM
recursive rcp Nicol Shell Programming and Scripting 6 11-06-2003 08:52 AM
Recursive FTP aslamg UNIX for Dummies Questions & Answers 1 03-08-2001 01:27 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-13-2008
Registered User
 

Join Date: Apr 2005
Posts: 1
Recursive SFTP

Hello,

I need to transfer files from Serve1 to Server2. Previously I was using scp command. Now I have to use sftp (due to audit issues). The problem with sftp is (atleast to my level of knowledge) we cannot transfer dirs (and files within that dir).

Is there a way to solve this? Looks like I might need to write a shell pgm to list the dir and then create them manually.

Any thoughts are welcome.

Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 05-18-2008
Registered User
 

Join Date: May 2008
Posts: 7
I would make a tar
tar -cvf mydir.tar ./dir/

and preferably gzip it.

Quote:
Originally Posted by MohanTJ View Post

we cannot transfer dirs (and files within that dir).
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0