diff --git a/src/Html5FileSelector.js b/src/Html5FileSelector.js
index db5b5b9..6de7b82 100644
--- a/src/Html5FileSelector.js
+++ b/src/Html5FileSelector.js
@@ -70,7 +70,7 @@ function packageFile(file, entry) {
}
return {
fileObject: file, // provide access to the raw File object (required for uploading)
- fullPath: entry ? copyString(entry.fullPath) : file.name,
+ fullPath: entry ? copyString(entry.fullPath) : file.webkitRelativePath,
lastModified: file.lastModified,
lastModifiedDate: file.lastModifiedDate,
name: file.name,