S seadiel New Member Sep 2, 2012 #1 I picked up a FlashAir SD card and I would like to copy the dcim folder on the SD to my phone. You connect to the FlashAir via wifi and can navigate to the web interface via h ttp://flashair/ (intranet). In a Windows PC you connect to the broadcasting wifi and copy the folder. How do I copy directory from h ttp://flashair/dcim to root on sd card. I could only find topics on moving folders around the sd nothing with http. FTP doesn't seem to work with the Flashair. Thanks, Seadiel
I picked up a FlashAir SD card and I would like to copy the dcim folder on the SD to my phone. You connect to the FlashAir via wifi and can navigate to the web interface via h ttp://flashair/ (intranet). In a Windows PC you connect to the broadcasting wifi and copy the folder. How do I copy directory from h ttp://flashair/dcim to root on sd card. I could only find topics on moving folders around the sd nothing with http. FTP doesn't seem to work with the Flashair. Thanks, Seadiel
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2012 #2 Do you want to write a program that does it? Upvote 0
S seadiel New Member Sep 2, 2012 #3 I am creating an app that will transfer files from h ttp://flashair/dcim to the sd card root. Below is what I would use for a Windows PC program how do I convert this code to an android app if even possible? Dim dir As DirectoryInfo = New DirectoryInfo("\\flashair\dcim\") For Each fi As FileInfo In dir.GetFiles() fi.CopyTo("C:\temp\" + fi.Name) Next Upvote 0
I am creating an app that will transfer files from h ttp://flashair/dcim to the sd card root. Below is what I would use for a Windows PC program how do I convert this code to an android app if even possible? Dim dir As DirectoryInfo = New DirectoryInfo("\\flashair\dcim\") For Each fi As FileInfo In dir.GetFiles() fi.CopyTo("C:\temp\" + fi.Name) Next
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2012 #4 It is possible. You should read the tutorials about HttpClient and HttpUtils2. Upvote 0