Get PDF with UploadThing
Hi,
I'm using upload thing to store some pdfs and there is a point in my application where i want to get the pdf object to store it in my file system.
I'm using this to get the pdf (const oneUrl = await utapi.getFileUrls()) but this only gives me the url and the key. Is there a way i can get the file without needing to fetch the file from the url?
2 Replies