reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Return file to browser in the backend

Open evandeng2009 opened this issue 2 years ago β€’ 0 comments

Describe the bug I like the way that no record shown in browser console when call State.functions. Right now I'm trying to provide a button for downloading files. As discussed in https://github.com/pynecone-io/pynecone/issues/909, a link should be clicked by user. Any way to directly retun the file to browser for downloading and no link shown? By the way, what's the development status of pc.download_files()?

To Reproduce Steps to reproduce the behavior:

  • Code/Link to Repo:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

** Specifics (please complete the following information):**

  • Python Version:
  • Reflex Version:
  • OS:
  • Browser (Optional):

Additional context Add any other context about the problem here.

evandeng2009 avatar Jul 06 '23 14:07 evandeng2009