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

device.push with error FileNotFoundError("Cannot find {}".format(src)) #86

Open
MauseHund opened this issue Oct 20, 2021 · 3 comments
Open

Comments

@MauseHund
Copy link

MauseHund commented Oct 20, 2021

device.push('/sdcard/test.txt','c:/test/test.txt')

leads to the following error:

raise FileNotFoundError("Cannot find {}".format(src))
FileNotFoundError: Cannot find /sdcard/test.txt

Any idea what I am doing wrong with the call? Phone is connected. sdcard/test.txt does exist
and the folder c:\test\ on PC does exist as well.

@ebisek-logi
Copy link

Are you trying to pull or push the file?

This looks like a pull. Anyway the destination should not specify the filename

@MauseHund
Copy link
Author

Trying to receive the content of the mobile sdcard and store it in the c:\test folder

@ebisek-logi
Copy link

Wrong ppadb command. Use pull not push

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