Using Flask and WTForms, I'm taking user uploaded files and spitting back results. Everything works fine, but now the user would like to see (in the results) the complete file path of the files they uploaded. This data does not appear to show up in the Flask files data.
EDIT: The file path the user wants to see is the path from the client side, not the path on the server. They'll upload a data file from a path like C:\\Path\To\All\My\Data\HWX123987123\000001.txt
and want the results they see to reflect that path.
What I thought would exist:
>>> request.files.getlist(FILES)[0].filepath
'C:\\Path\To\All\My\Data\HWX123987123\000001.txt'
What I have:
>>> request.files.getlist(FILES)[0].filename
'000001.txt'
Is there any way to get the equivalent response from my imaginary filepath
property? Thanks!