$log = "/tmp/log \n"; $command = < $log; user $user password $passwd put $spath[$i] $dpath[$i] bye eof eod