Link to home
Start Free TrialLog in
Avatar of vishali_vishu
vishali_vishu

asked on

scp complete folder

hai !
      I know to scp a file from one server to another.

My question is if i want to scp complete folder (directory) from one server to another .......how to do it ?
Avatar of albuitra
albuitra
Flag of Colombia image

scp -r DIRECTORY
ASKER CERTIFIED SOLUTION
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if you have big directory and big files and sub directories, you may use ftp:

wget -r --ftp-user=username --ftp-password=pass ftp://servername:/path/to/dir

if ypu don't have wget you may download from

sunfreeware.com

This will use ftp to copy which is faster than scp