I was trying to copy a file from remote server using SCP but its giving the following error.
bash-3.2$ scp username@server:main.php C:\main.php
ssh: Could not resolve hostname C: hostname nor servname provided, or not known
Its assuming C: as hostname but its just the drive name..Please let me how to specify explicitly like some escaping to get rid of this issue.
If i don't specify the path where to save on local desktop,its working fine.
bash-3.2$ scp username@server:main.php main.php
main.php 100% 29KB 28.9KB/s 00:01
Appreciate any help.. Thanks in advance,
PS: Using Windows XP SP2