How to Do: Download per http

Hillen Richard mail at richard-hillen.de
Fri Apr 1 12:07:54 EDT 2022


Helo Paul,
It works! Thank you!
Richard.

> 
> 
> On 3/31/2022 3:00 PM, Hillen Richard via use-livecode wrote:
>> Hello,
>> 
>> My Mac is by usb connected to an iPhone, on which is running the data-aggregator Phybox.app and aggregates the sensor-data of the internal acceleration-sensor.
>> 
>> On Mac, when I write into the Safari address bar
>> "http://192.168.178.66/export?format=1?,
>> I receive the sampled data in a .xls-file by download from the iPhone-app.
>> 
>> I would like to download this file by LiveCode. But  I have no plan, how to do it.
>> 
>> May you help? I am very grateful for tips.
>> 
>> Richard.
>> 
> 
> I think you can do:
> 
> put URL "http://192.168.178.66/export?format=1" into URL 
> ("binfile:"&tLocalFile) -- where the variable tLocalFile contains the 
> file path to a new .xls file, such as 
> "/Users/Fred/Documents/mySensorData.xls"




More information about the use-livecode mailing list