         file.previewTemplate = file.previewElement # Backwards compatibility
 
         @previewsContainer.appendChild file.previewElement
-        node.textContent = file.name for node in file.previewElement.querySelectorAll(
+        node.textContent = file.fullPath for node in file.previewElement.querySelectorAll(
           "[data-dz-name]")
         node.innerHTML = @filesize file.size for node in file.previewElement.querySelectorAll(
           "[data-dz-size]")

    # Finally add the file
    # Has to be last because some servers (eg: S3) expect the file to be the
    # last parameter
    formData.append @_getParamName(i), files[i], files[i].name for i in [0..files.length-1]

    xhr.send formData


        if entry.isFile
          entry.file (file) =>
            return if @options.ignoreHiddenFiles and file.name.substring(0, 1) is '.'
            @_addFile file, path
        else if entry.isDirectory
          @_addFilesFromDirectory entry, "#{path}/#{entry.name}"
      return
