From: Arul hari Date: 2007-10-25T18:03:48+09:00 Subject: Any one help me? Dear friends, I am unable to findout the answers for this question? I am having one server socket program ans one client program. server program: <----------------> <-----------------> ./server.rb -p 1234 client program: <------------------> <------------------> ./client.rb -p 1234 Now I want to send one file to client that is available in current directory. Both the client and server is runnig under this directory[vellingiri@fountserver]. Thsi is having some files ,for instance, 1.rb 2.rb 3.rb 4.rb sserver.rb client.rb Is there any method to send a one file from client to server.Please could anybody tell me. In c we are using the sendfile library function,same way in ruby is there any way. by Vellingiri -- Posted via http://www.ruby-forum.com/.