sirjo66 Well-Known Member Licensed User Longtime User Jun 2, 2013 #1 Hello to all With my PC, I copy a file into my Android (connected by USB cable) into File.DirDefaultExternal My B4A program (that's running on Android), see this file, read it, execute a command, and then delete it. All works fine !! But then, if I want to copy another file into File.DirDefaultExternal, my PC can't do it and the error is "I can't copy the file. Destination storage is write protected". How to solve it without disconnect and re-connect USB cable ?? Thanks Sergio
Hello to all With my PC, I copy a file into my Android (connected by USB cable) into File.DirDefaultExternal My B4A program (that's running on Android), see this file, read it, execute a command, and then delete it. All works fine !! But then, if I want to copy another file into File.DirDefaultExternal, my PC can't do it and the error is "I can't copy the file. Destination storage is write protected". How to solve it without disconnect and re-connect USB cable ?? Thanks Sergio
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2013 #2 You can try to kill the app process by calling ExitApplication. Upvote 0
sirjo66 Well-Known Member Licensed User Longtime User Jun 3, 2013 #3 Erel said: You can try to kill the app process by calling ExitApplication. Click to expand... Thanks for your reply, but I need that the program waiting for another file. I have also try to add ExitApplication for a test but it don't works, I need to disconnect a connect USB cable :sign0085: Sergio Upvote 0
Erel said: You can try to kill the app process by calling ExitApplication. Click to expand... Thanks for your reply, but I need that the program waiting for another file. I have also try to add ExitApplication for a test but it don't works, I need to disconnect a connect USB cable :sign0085: Sergio
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2013 #4 Not sure that you can workaround this. Why don't you transfer the files over the local network? It can be done with SMB library. Upvote 0
Not sure that you can workaround this. Why don't you transfer the files over the local network? It can be done with SMB library.
sirjo66 Well-Known Member Licensed User Longtime User Jun 3, 2013 #5 Erel said: Not sure that you can workaround this. Why don't you transfer the files over the local network? It can be done with SMB library. Click to expand... Yes, I think that it's not a good idea to use files on folder I'am already working on HttpServerService for to accept command from a PC by WiFi connection Thanks Sergio Last edited: Jun 3, 2013 Upvote 0
Erel said: Not sure that you can workaround this. Why don't you transfer the files over the local network? It can be done with SMB library. Click to expand... Yes, I think that it's not a good idea to use files on folder I'am already working on HttpServerService for to accept command from a PC by WiFi connection Thanks Sergio
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2013 #6 HttpServer can also accept files. What is the average file size? Upvote 0