From: Seid Rudy Date: 2006-09-09T04:59:32+09:00 Subject: Re: calling scp from ruby unknown wrote: > On Sat, 9 Sep 2006, Seid Rudy wrote: > > system "scp #{ src } #{ dst } >#{ log } 2>&1" > > are you on windows by any chance? > no, unix I did that and i got an empty log. I also rerun the script without deleting the sql file so it appended to the file like it should. When i looked at the destination file i noticed the file stopped at the same spot. But when i look up further to the top of the destinatio file i noticed it had the a complete content of the sql file followed by an incomplete content of the sql file. Ofcourse the source has content of two complete sql files appended in one. -- Posted via http://www.ruby-forum.com/.