TadLeonard / tfatool

Tools for managing files with the Toshiba FlashAir wireless SD card
MIT License
36 stars 8 forks source link

flashair-utility does not support specifying the host name #12

Open NorthIsUp opened 6 years ago

NorthIsUp commented 6 years ago

this means it won't work unless the url is anything other than the default of http://flashair/

TadLeonard commented 6 years ago

@NorthIsUp, a branch called session has been created (see https://github.com/TadLeonard/tfatool/pull/13). If you can run the functional tests, I'll happily merge and deploy it. From the perspective of the command line user, this branch adds a -u/--url argument to solve your problem. From the perspective of the programmer, it makes you pass around a session.Session context that holds filters, local/remote dirs, and the URL of the FlashAir device (which doesn't have to be http://flashair).