-
Notifications
You must be signed in to change notification settings - Fork 25
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
folder download needing trailing / #1256
Comments
@yarikoptic It's already established & documented that a |
advantage is - support of URLs copy/pasted from web UI to simplify user data workflows. Unfortunately, I think, web UI changed its behavior (I guess) and no longer includes that trailing But as to me that would be just inferior UX -- "why software, if it knows that it might be a folder, doesn't just handle it as a folder?" |
Answer: Because it only might be a folder; it might also be the case that the user left off, say, a trailing |
@yarikoptic Side note: We had almost this same discussion before in #598 (comment), but the message suggesting the user add a trailing slash currently only shows up when |
@yarikoptic Taking into account the way |
936e36b made it strict in #820 (Make download fail immediately on nonexistent resources) to address #817 (we are silently failing to download a non-existing asset)... |
Please reread this comment about why that would lead to problems. When I asked what changes you wanted made, I was referring to your previous comment in which you asked for the "No asset at path" message to conditionally include a recommendation to append a slash. If you look at the current implementation of
|
I reread -- seems to point to our underlying code assumptions/logic, not some fundamental problem (like if we could have |
🚀 Issue was released in |
While preparing answer for #1255 I hit a regression of being unable to download a folder given a url from web UI
but then tried with
/
explicitly added and it worked:so, I think if "no asset at path" and path does not end with
/
we should try with/
.The text was updated successfully, but these errors were encountered: