Search code examples
androidhttpandroid-wifiwifimanagerdirectory-listing

Getting directory list of a device over wifi connection


I want to get the directory list of FlashAir which is connected to a android device over wifi, and i need to download the selected files.

Here is the networking specification of the device

  1. Supported protocol - TCP/IP (IPv4)
  2. Server functionality - HTTP Server, DHCP Server
  3. Client functionality - HTTP, DHCP, DNS, NETBIOS

What protocol can be used to get the directory list and how?


Solution

  • Here is a tutorial that shows you how to write a quick app that will allow you to get a directory list of FlashAir contents as well as download image files (or with some tweaking, any files) from the FlashAir:

    https://flashair-developers.com/en/documents/tutorials/android/3/