SCP copy

I want to copy all the files and subdirectory from a server.

I tried

scp pritish@ipaddress:/home/pritish -r $PWD

it copies all the files but not the directory, Can any one help me.

I want to copy files as well as subdirectory from a server directory

Note: Use CODE-tags when displaying code, data or logs for better readability and to keep formatting like indention etc., ty.

Hm it does on my box - place the -r behind "scp -r ..." and try again. You can also play around with adding a wildcard (*) after adding a slash after the directory name.

Thanks