Hi,
I have a question:
if request.env.request_method == "POST":
attachments = request.vars.attachments
if len(attachments) > 0:
for attachment in attachments:
image = db.entry_value.upload_value.store(attachment.
file, attachment.filename)
I have a code like this, i would like to use store() without any relation
to database.
db.entry_value.upload_value.store(attachment.file, attachment.filename)
I am not using DAL, i am using pymongo directly, all i need is to store
image on the filesystem and then write the filename in MongoDB with
pymongo. Is it possible to upload the file without any relation to database?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.