How to read a txt file hosted on a Unix server while R is installed on a Windows based computer

Hello,

I am new with R software and I wonder how do we read a txt file hosted on a Unix server.
We probably need the name of the server, our username and password but how do we do that?

Could you please provide an example