bugy / script-server

Web UI for your scripts with execution management
Other
1.6k stars 249 forks source link

Download virtual file from python script #515

Open haipas opened 2 years ago

haipas commented 2 years ago

Hello @bugy , I have created a virtual file inside a python script with f = io.BytesIO(b'test'). Do you know a way to download this file to the user computer?

Best regards,

bugy commented 2 years ago

Hi, downloading virtual file is not possible. If you write this file somewhere, users can download it using https://github.com/bugy/script-server/wiki/Script-config#output_files