How can I upload a file in opa server ? Is it possible to store the file in an opa database, or must I copy it onto the filesystem ?
The stdlib.io modules doesn't seem to offer the ability to store file.
Thanks
How can I upload a file in opa server ? Is it possible to store the file in an opa database, or must I copy it onto the filesystem ?
The stdlib.io modules doesn't seem to offer the ability to store file.
Thanks
Copyright © 2021 Jogjafile Inc.
You should have a look at the Upload widget: http://doc.opalang.org/api/#upload.opa.html/!/value_stdlib.upload
With the
process
callback you can decide to store the file in the opa database.