Actually i found it myself, i had to put it like this in order for pyhton to be able to send the file send_from_directory( filepath, filename) Problem now is that if my filanme has greek letters iwhtin i still get bad request. Why is that?
Cannot serve file with send_from_directory
Cannot serve file with send_from_directory
|
|
Messages In This Thread |
Cannot serve file with send_from_directory - by nikos - Sep-17-2018, 06:13 AM
RE: Cannot serve file with send_from_directory - by nikos - Sep-18-2018, 09:10 PM
RE: Cannot serve file with send_from_directory - by nikos - Sep-19-2018, 09:25 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Flask, send_from_directory not working : solved | SpongeB0B | 2 | 7,502 |
Jan-26-2021, 07:02 AM Last Post: SpongeB0B |
|
Serving mixed filenames with send_from_directory() errors out. | nikos | 0 | 1,895 |
Sep-20-2018, 03:11 AM Last Post: nikos |
|
Django serve list-file | foralobo | 4 | 4,383 |
Oct-03-2017, 03:48 PM Last Post: nilamo |
Users browsing this thread: 2 Guest(s)