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

[BUG] Copying files over MTP starts to fail when a file is over a couple of Megabyte #626

Open
Zakadius123 opened this issue Oct 26, 2024 · 0 comments

Comments

@Zakadius123
Copy link

Zakadius123 commented Oct 26, 2024

Cosmic-files version:
0.1.0172964584224.04~576b9ef

Issue/Bug description:
Copying files over a certain size will start to fail when transferring over MTP. During testing I found that it starts at around 5.5MB but isn't consistent at around 1/5. Going to higher sizes like 6MB will cause it to fail more often.

This was tested with a Pixel 6 and a Steam Deck. For my Steam Deck I could transfer a file at around 6MB with no issues but had issues with one over 8MB.

Steps to reproduce:

  1. Connect any device over MTP to the PC (In my case a Pixel 6)
  2. Allow file transfer.
  3. Attempt to transfer a file over ~6MB

Expected behavior:
User is able to transfer files of any sizes to their devices over MTP.

Other notes:
Replacing the file seem to allow me to transfer the entire file even those over 100MB.

dd if=/dev/zero of=upload_test bs=1K count=SIZE_OF_FILE was used to create files with different sizes.

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

1 participant