From: Seid Rudy Date: 2006-09-07T09:31:00+09:00 Subject: calling scp from ruby I have a problem using "scp" from a ruby scrip. It copies my sql file to the destination but it cuts the file the middle of line 290. When i run scp manually i the copied file is normal. I am using `` to call the unix command Dir.chdir(sql_folder) `scp -r #{sql_folder} #{remotelogin}:#{remotesqlfolder}/#{document_id}` Do you have any idea what i am doing wrong? -- Posted via http://www.ruby-forum.com/.