   saveFile: (fsFile, data)->
     @emit "uploadStart", fsFile
     fsFile.saveBinary data, (err, res, progress)=>
+      progress = res unless progress
       return if err
       if res.finished
         @emit "uploadEnd", fsFile

      filePath   = "[#{fsFile.vmName}]#{fsFile.path}"
      parentPath = "[#{fsFile.vmName}]#{fsFile.parentPath}"

      bindAbort = ->
        nodeView.showProgressView 1
        nodeView.once "abortProgress", => fsFile.abort yes

      fsFile._isBeingUploaded = yes
      nodeView = @finder.treeController.nodes[filePath]
      if nodeView
      then bindAbort()
      else
        @finder.treeController.on "NodeWasAdded", (nodeView)->
          if nodeView.getData().path is filePath and fsFile._isBeingUploaded
            bindAbort()

        fsFile.save "", =>
          @finder.expandFolders FSHelper.getPathHierarchy parentPath

    @on "uploadEnd", (fsFile)->
      fsFile._isBeingUploaded = no

  viewAppended: ->
    super

        <small>#{if uploadToVM then defaultPath else ''}</small>
      </div>
    """
    @_uploaded = {}

  drop: (event)->
    super
    {files, items}  = event.originalEvent.dataTransfer

    if files.length >= 20
      @notify """
