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

[Android] File Not Found when moving from external to internal storage #103

Closed
2 of 6 tasks
RuddyOne opened this issue Feb 28, 2019 · 3 comments
Closed
2 of 6 tasks

Comments

@RuddyOne
Copy link

RuddyOne commented Feb 28, 2019

Steps to reproduce

  1. Run project

  2. Create breakpoint in Files.cs on line 42 (in the catch so you can see whats going on)

  3. Accept permission (doesn't seem to make a different)

  4. Click "Download Files"

Expected behavior

All images that are downloaded should be moved to internal storage.

Actual behavior

Most images are moved but some throw an exception "File Not Found". I can see the image is in downloads just like all the others.

Configuration

Platform:

  • iOS
  • Android
  • UWP
  • Other

Device:

  • Simulator
  • Samsung Galaxy Tab 2

Demo Project:
See the attached.
RandomAppTests.zip

@RuddyOne
Copy link
Author

So this was something to do with not renaming the temp files before the move? Not sure why that would make the difference but I have now fixed my issue by doing so.

@SimonSimCity
Copy link
Owner

I doubt this is anything related to my package. Since you've linked this issue to #102, where you describe downloading a stack of 100+ files, I would almost expect the same problem when trying to rename 100+ files - or at least when using the native download manager yourself.

Glad to hear that not moving the file made a possible work-around for you. I'll close this because it's out of my scope. If this is a problem, it's a problem of the underlying code managed by Android.

@SimonSimCity
Copy link
Owner

It's also slightly related to #24 since we're already dealing with a lot of downloads here ...

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

2 participants