Hi Simon,

Links doesn't support reading or writing files. You could add that
functionality by defining appropriate functions in the OCaml file 'lib.ml'.

I don't know your use-case, but alternatively you might simply store the
data in an SQL database rather than a file.

Sam

Simon Vansintjan wrote:
Hello all,

I was wondering whether anyone had attempted to read or write to files before with Links? I don't think there's a built in method for it, but I've been trying to display the contents of a file within a form field to allow for editing and then saving the edited text to a
file. Anyone have any ideas?

Thanks, Simon
_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Reply via email to