Microsoft
Software
Hardware
Network
Question : Solaris 10 SFTP to get a directory
I am working with Solaris 10 x86 on an HP DL360. I am trying to write a simple script to use sftp to download a directory tree.
The files I am trying to get are buried under 5 or so directory layers.
For example:
/test/dir1/path/to/the/fil
es
/test/dir2/path/to/the/fil
es
/test/dir3/path/to/the/fil
es
In the above example, I just want to connect to their SFTP server and download the 'test' directory, which would contain all the subdirs and files. I had this working on windows using putty, but it seems that unix cannot handle this task.
It looked like the perl module Net::SFTP could handle this, but I have been trying without success to install it for the past two days.
What is the best way to do this?
Answer : Solaris 10 SFTP to get a directory
You could try to use
scp -r user@machine:/test your_local_dir
This will recursively copy the "/test" directory to "your_local_dir"
Random Solutions
Forcefully Remove License Object From Tree after Server has been Removed
Can ping and resolve hostnames but cant browse internet
Can you have mutiple security settings for a single SSID for Cisco Access Point
Wireless Corporate Guest Access
Windows 2000 - share Dialup connection to 2 NICs
dns comes up mshome.net
Does sharing Outlook on TWO computers require $1K-$2k MS Exchange
Wireless error that all of a sudden came up.
Trouble running adprep on Windows 2000 Server
Windows XP: DHCP bug?