method file_upload #546
-
First off let me say thank you for this project. I'm attempting to upload images. How do I store the uploaded files onto the local server? I have seen some examples here in the discussion board, but it doesn't seem to be working. Sample Code: os.open(f"info['picture'].jpg","wb").write(info['picture']) Any guidance on how accomplish this would be helpful. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
According to the doc,
So in your case, the following code can be used to save uploaded files to server.
|
Beta Was this translation helpful? Give feedback.
According to the doc,
file_upload()
return list of the following item (when multiple=True):So in your case, the following code can be used to save uploaded files to server.