The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

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 52 03-25-2009 12:15 PM
Recursive pid script jbarnhar Shell Programming and Scripting 3 05-02-2007 03:14 PM
recursive sorting fermisoft UNIX for Advanced & Expert Users 1 08-16-2005 08:46 AM
recursive rcp Nicol Shell Programming and Scripting 6 11-06-2003 11:52 AM
Recursive FTP aslamg UNIX for Dummies Questions & Answers 1 03-08-2001 04:27 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-13-2008
MohanTJ MohanTJ is offline
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!
  #2 (permalink)  
Old 05-19-2008
divh18 divh18 is offline
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).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0