-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag and drop has path but direct browse does not #1605
Comments
Hi!
With PR #1602, this should not be the case. The This is what I get when I drag-drop a folder with files and a subfolder (in the aforementioned PR):
The issue would arise if you have the same file across different folders, Uppy currently will just replace the duplicate file, so you end up with one instance. We were considering adding |
@genachka, there is no way to do it in Js (https://stackoverflow.com/questions/15201071/how-to-get-full-path-of-selected-file-on-change-of-input-type-file-using-jav). |
Closing, as:
|
As noted here: #1509
I didn't want to hijack that issue as my use case is a little different. I actually need to know the full path that the direct file came from and the full path as well when the dropped file came from.
If I have 3 files:
--Folder a
--Folder b
And the user selects the file
file 123.jpg
fromFolder a
the relative path will be./
based on the solution you proposed in the referenced report. But then so when the user also selects the filefile 123.jpg
fromFolder b
the relative path will be./
as well. And I need to maintain the folder structure of the uploaded files and with what's being proposed I won't be able to tell which file belongs in which folder on my server destination.Further as I mentioned, is there any way to get the full path, not just the relative on the dropped as well as direct?
The text was updated successfully, but these errors were encountered: