Downloading folder

Downloading folder

I have a password protected folder shared public, I have to download in a remote machine using terminal. Is there is a way to do that?