From: "Mike O." Date: 2013-06-07T12:09:42+09:00 Subject: sftp.read! accepts neither 3 nor 1 arguments I am using Ruby 1.9.3p392, with net/ssh 2.6.7 and net-sftp 2.1.1. When I tried to call with sftp.read! with three arguments, I got the error at syntax-check time, implying it wants only one argument (pointing at the first comma): syntax error, unexpected ',', expecting ')' sftp.read!( handle, 0, 65535 ) ^ When I tried to call with one argument as it seemed to want, I got the error at runtime: sftp.read!( handle ) :in `read!': wrong number of arguments (1 for 3) (ArgumentError) So which is it; what dumb thing don't I understand, or am I doing wrong? -- Posted via http://www.ruby-forum.com/.