Download file from memory or create download link without uploading to seatable

Hello,

my goal is to generate a text file with a python script which the person triggering the script can then download to their device.

I’m using Seatable Cloud, so the script doesn’t run locally. This is the current solution i have:

  • create the file
  • upload it to seatable
  • generate download link and send it via a toast notification
    → user can either download the file from the bases file system or use the download link copied from the notification

None of the methods to download files in the documentation work, i assume because the python scripts don’t run locally like the javascript ones do. Is it possible to skip uploading to seatable and to download to the users file system directly?

I didn’t look into javascript scripts yet, as id prefer the current solution over using javascript.

Id be happy to hear solutions or alternatives, thanks in advance.

No. They don’t. When you run the Python script in the base directly, the scripts are executed on the SeaTable Cloud servers.

All the methods described in the Developer Manual work. I can reassure you.

This is what you can do:

  • Create the text of your text file
  • Upload the text in a text file into SeaTable
  • Link the file to a record in a file column

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.