tsneterr: (3) URL using bad/illegal format or missing URL

Klaus major-k klaus at major-k.de
Sun Dec 17 04:18:03 EST 2023


Hi Matthias,

> Am 16.12.2023 um 23:29 schrieb matthias rebbe via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hello Klaus,
> 
> You could try to post the data as a file  to the server. There is an array $_files in Livecode server available, which handles the file uploads.

ah, sounds promising, thank you! :-)
I wanted to post the list directly from an LC field, but can surely store its content to a temp file.

But how is the syntax in my case?
...
put clean_name(tSetlist) into tDateiname 
## = filename on server

## put "whatever" & CR & urlencode(fld "setlist") into tInhalt
put "https://www.MYSERVER.de/setlists.lc?name=" & tDateiname & "&setlist=" & url("file:" & path to file") into tURL #?
## Nothing in the dictionary about this
...

> Regards,
> Matthias

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list