Read remote file

How can i read the file sample.txt in c:\ from the network machine PC1
The script is running on the PC2 machine.
I can log on the machine PC1 with user1 and pass1. Can i do it?

···

--
Posted via http://www.ruby-forum.com/.

there is no one to give me a hint?

···

--
Posted via http://www.ruby-forum.com/.