Also, maybe someone can recommend some existing module which implements familiar logic of keeping the connection open without blocking and waiting for some event to happen before sending out the file? -- Posted via http://www.ruby-forum.com/.