Boneman
Boneman
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
Or delay is optional
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
But with a delay
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
Sort of like a webhook
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
Definitely. I don't know how this should be done. But I have an approach. It goes something like this. We set a callback URL (route on our server). On uploadthing side, this endpoint is hit after a set number of minutes once a file is uploaded. We get the info on the file (name, Id etc) which we can use to setup our own logic. What do you think of this?
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
I have a solution for this. it's to run a cron job. I'm currently keeping track of all the files that are uploaded in my own database and I can check it that way. I'm not sure if it's good though.
11 replies