40

I am using putty for copying files from local machine to remote server.My folder is in C:/site can any one give syntax for copying folder from C:/site to remote server using scp

Adil Shaikh
  • 44,509
  • 17
  • 89
  • 111
Warrior
  • 5,168
  • 12
  • 60
  • 87

2 Answers2

82
scp -r C:/site user@server_ip:path

path is the place, where site will be copied into the remote server


EDIT: As I said in my comment, try pscp, as you want to use scp using PuTTY.

The other option is WinSCP

Kiril Kirov
  • 37,467
  • 22
  • 115
  • 187
4

In stall PuTTY in our system and set the environment variable PATH Pointing to putty path. open the command prompt and move to putty folder. Using PSCP command

Please check this

Warrior
  • 5,168
  • 12
  • 60
  • 87