P peternmb Well-Known Member Licensed User Longtime User Feb 26, 2021 #1 Hallo, i want to export a file on a USB-Stick. I made a litte example where I can choose in the filebrowser the USB-Stick, but i find not the right way to write the file. Please can somebody tell me, where I made the mistake? Thank you. Attachments USB_Storage.zip USB_Storage.zip 11.6 KB · Views: 620
Hallo, i want to export a file on a USB-Stick. I made a litte example where I can choose in the filebrowser the USB-Stick, but i find not the right way to write the file. Please can somebody tell me, where I made the mistake? Thank you.
agraham Expert Licensed User Longtime User Feb 26, 2021 #2 The only way is to use streams and the methods in ExternalStorage class. File.Copy will not work as you cannot use normal File operations on external storege. Upvote 0
The only way is to use streams and the methods in ExternalStorage class. File.Copy will not work as you cannot use normal File operations on external storege.
P peternmb Well-Known Member Licensed User Longtime User Feb 26, 2021 #3 Thank you for this answer. If I use streams it is the same - I can not write to the stick. I modified my example and use streams. Attachments USB_Storage.zip USB_Storage.zip 11.8 KB · Views: 585 Upvote 0
Thank you for this answer. If I use streams it is the same - I can not write to the stick. I modified my example and use streams.
agraham Expert Licensed User Longtime User Feb 26, 2021 #4 agraham said: The only way is to use streams and the methods in ExternalStorage class. Click to expand... See above and the example here. ExternalStorage - Access SD cards and USB sticks | B4X Programming Forum Upvote 0
agraham said: The only way is to use streams and the methods in ExternalStorage class. Click to expand... See above and the example here. ExternalStorage - Access SD cards and USB sticks | B4X Programming Forum
S strupp01 Active Member Licensed User Longtime User Feb 26, 2021 #5 Hello peternmb, I sent you an info on this topic yesterday at conversation in the German forum. Have a look. Upvote 0
Hello peternmb, I sent you an info on this topic yesterday at conversation in the German forum. Have a look.
P peternmb Well-Known Member Licensed User Longtime User Feb 26, 2021 #6 strupp01 said: Hello peternmb, I sent you an info on this topic yesterday at conversation View attachment 108759 in the German forum. Have a look. Click to expand... Thank you. Upvote 0
strupp01 said: Hello peternmb, I sent you an info on this topic yesterday at conversation View attachment 108759 in the German forum. Have a look. Click to expand... Thank you.