From: Milo Thurston Date: 2008-03-11T18:37:08+09:00 Subject: Re: sftp.put_file problems on Linux Michael Steinfeld wrote: > Seems to me like your TCP connection is being killed by the server. > I'm guessing. Thanks for your reply. I'm not sure that that's it, as my script includes other commands (e.g. sftp.mkdir) that work fine even though all the put_file commands fail. So, the connection must be remaining open. I can also use sftp on the command line. Could there be some sort of status message being returned from the ssh connection that the Ruby code doesn't like? -- Posted via http://www.ruby-forum.com/.