     options.defaultPath or= "/home/#{KD.nick()}/Uploads"
 
     super options, data
+
     @reset()
 
     @setPath options.path  if options.path

      for item in items
        itemEntry = item.webkitGetAsEntry?()
        if itemEntry.isDirectory
          return new KDNotificationView
            title: "Folder uploads not available for now."

    finder = KD.getSingleton "finderController"
    {notify} = finder.treeController
    if files.length >= 20
      notify """
      Too many files to transfer!<br>
      Archive your files and try again.
      """, "error", """

      for file, index in files
        sizeInMb = file.size/1024/1024
        if sizeInMb > 100 && @getOptions().uploadToVM
          @notify "Too big file to upload.", "error", "Max 100MB allowed per file."
          continue
        reader = new FileReader
        reader.onloadend = do (file=files[index])=> (readEvent)=>
