Writing file to server with Livecode Server
selander at tkf.att.ne.jp
Fri Jul 9 03:42:17 EDT 2021
Of course, right after posting, new ideas come to mind.
Using "put (variable) into URL (server file)" failed, but using
Open file (server file)
write (variable) to file (server file)
close file (server file)
still works fine.
Sorry for the disturbance!
On 2021.07.09 15:31, Tim Selander via use-livecode wrote:
> Several years back, I had a POST web form for our company where I
> saved responses to a .csv file on the same server and same folder
> as the .lc file. (All hosted on on-rev.com)
> That page is long gone, but I now need to do the same thing. But
> when I try to write the data to the csv file, I get a 405 Error.
> I suppose new security rules are behind this, but it's also very
> like I am simply making a coding mistake. Is it possible for an
> .lc script to write a text file to the same folder it resides in?
> Any help appreciated!
> Tim Selander
> Tokyo, Japan
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode