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

[WP] Can't delete a file #30

Closed
trufanov-nok opened this issue Apr 24, 2015 · 4 comments
Closed

[WP] Can't delete a file #30

trufanov-nok opened this issue Apr 24, 2015 · 4 comments

Comments

@trufanov-nok
Copy link

I'm getting Get: Invalid response code InvalidParameter (0x201d) any time I'm trying to delete a file on WP device. Console:

./qt/android-file-transfer 
upload worker started
device info "NOKIA"   "909"
device found, opening session...
session opened, starting
remove rows  4   1

File isn't removed neither from device disk nor from GUI.
wireshark trace: http://1drv.ms/1d8dswD
(Only file deletion attempt is captured)

@whoozle
Copy link
Owner

whoozle commented Apr 24, 2015

Please try replacing this line in Session.cpp:299

Send(OperationRequest(OperationCode::DeleteObject, transaction, objectId));
with
Send(OperationRequest(OperationCode::DeleteObject, transaction, objectId, 0));
And see if it helps.

@trufanov-nok
Copy link
Author

Yes, it fixes the problem.

@whoozle
Copy link
Owner

whoozle commented Apr 24, 2015

Microsoft engineers can't read their own standards then.

@whoozle whoozle closed this as completed Apr 24, 2015
@trufanov-nok
Copy link
Author

Have no doubts in that

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