-
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
Recreate directory tree from box provider #4423
Comments
so the problem is that if you select a directory, Uppy will not select any files inside of it? |
it will select it if there is, but if there is a subdirectory it shows the error, my idea is to use it with a similar functionality as in tusd - if I send a tree to it, the tree is recreated to the destination |
So it's a feature request, you'd like to re-create directory tree on the destination server, after upload? We have uppy/packages/@uppy/provider-views/src/View.js Lines 59 to 70 in 3dd1e5e
|
correct me if i'm wrong but i think the problem is that there is an error thrown and files do not even get uploaded if there is a subdirectory. If so, then i would say it's a bug, not feature request |
You are both correct. When I try to upload directory that has subdirectory and and file in the sub I get error, the end result would be to get the full tree in the destination. So it's a feature request + bug? Can we get the directory tree from provider and sent to tusd? |
So I've added this to the list function in
and changed |
Is this fixed with #4537? |
@dschmidt I'm trying to test, but getting these errors when I try to build the docker container:
|
I think I've seen that, I had no time to properly debug it and figure out why it started to happen for us, but iirc this was my workaround: owncloud@538f172 |
Nice, this solved my deploy problem. Thank you for that. I still can't recreate the tree from box into my destination, do you think there is a way to add the path as a string in the metadata object before upload? For instance here for tus:
|
Hi, which version are you on? Can't you find |
@mifi Companion is latest release from here, Dashboard is CDN version |
Although the relativePath is a frontend feature, you need to make sure the frontend libs are up to date as well - Companion is probably not even that important |
Initial checklist
Link to runnable example
No response
Steps to reproduce
I'm using Uppy and tus as a standalone server, which is connected to Dashboard.
Create a directory tree in box like so:
When uploading local directory tree, the problem is not present
Expected behavior
When selected upload
Parent_dir
recreate the file directory to destination.Actual behavior
When uploading with companion and dashboard the
Parent_dir
I receive no files found.The text was updated successfully, but these errors were encountered: