Skip to content
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

Question: When will filesystem access be added #150

Closed
ZodmanPerth opened this issue Aug 24, 2020 · 5 comments
Closed

Question: When will filesystem access be added #150

ZodmanPerth opened this issue Aug 24, 2020 · 5 comments

Comments

@ZodmanPerth
Copy link

Accessing the filesystem from UWP using the UWP APIs is incredibly slow, and the API is very difficult to use. Difficult APIs can be overcome, but the painfully slow API cannot. Please see this discussion on microsoft-ui-xaml for a lot of context.

It would be a tremendous benefit to UWP if ProjectReunion prioritised filesystem access to be added ASAP if access speeds were an improvement over the UWP API (a very low bar). As someone writing an in-app file explorer in UWP, I would be very interested in trialing it.

I can't see any mention of filesystem in the roadmap. Has it's inclusion been discussed yet?

@ghost ghost added the needs-triage label Aug 24, 2020
@jonwis
Copy link
Member

jonwis commented Aug 24, 2020

This looks like a duplicate of #8 and maybe #88 - can you pile any additional comments or thoughts over there?

We don't have a timeline for it, but we're very aware of the problems and hope to have more information soon.

Until then, you could consider using the ...FromApp APIs that might speed up things like enumeration and IO. Might not meet your use cases for a full filesystem browser, so please leave any additional requirements in either of those issues.

@jonwis jonwis closed this as completed Aug 24, 2020
@ghost ghost removed the needs-triage label Aug 24, 2020
@ZodmanPerth
Copy link
Author

I agree this is a duplicate. Strangely nothing showed up in search before I created this issue.

Thanks for the guidance.

@soumyamahunt
Copy link

@jonwis is there any ...FromApp method for renaming files. StorageFile.RenameAsync only allows reaming to file type that are declared in manifest, also doesn't support renaming if file was dragged to the app??

@jonwis
Copy link
Member

jonwis commented Aug 26, 2020

How about https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/mt846627(v=vs.85) ? On Windows, rename is usually modeled as move-to-new-name.

@soumyamahunt
Copy link

How about https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/mt846627(v=vs.85) ? On Windows, rename is usually modeled as move-to-new-name.

Does this require access to the root folder?? The app I am trying to implement it on will not have any broadFileSystemAccess, so app will only have access to the file that has been opened by the app. I am getting "Access Denied" when trying to use this method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants