           when "tar.gz" then "tar -pczf #{escapeFilePath response} #{escapeFilePath file.path}"
           else "zip -r #{escapeFilePath response} #{escapeFilePath file.path}"
         KD.getSingleton('kiteController').run
-          vmName   : @vmName
+          vmName   : vmName
           withArgs : command
         , (err, res)->
           file.emit "fs.job.finished"


    sourceItem.emit "fs.job.started"
    targetPath = FSHelper.plainPath "#{targetItem.path}/#{sourceItem.name}"
    FSHelper.ensureNonexistentPath targetPath, @vmName, (err, response)->
      if err
        warn err
        callback? err, response
      else
        KD.getSingleton('kiteController').run
          vmName   : @vmName
          withArgs : "cp -R #{escapeFilePath(sourceItem.path)} #{escapeFilePath(response)}"
        , (err, res)->
          sourceItem.emit "fs.job.finished"

        else if /\.zip$/.test file.name
          "cd #{escapeFilePath file.parentPath};unzip #{escapeFilePath file.name} -d #{folder.path}"
      KD.getSingleton('kiteController').run
        vmName   : vmName
        withArgs : command
      , (err, res)->
        file.emit "fs.job.finished"
