Get a list of all files in UploadThing
I looked through some of the documentation for UploadThing, and I see how to upload a file, but what about downloading or getting a list of all the files that are uploaded?
Solution:Jump to solution
Nevermind it was in https://docs.uploadthing.com/api-reference/ut-api#listfiles
```js
import { utapi } from "~/server/uploadthing.ts";
const files = await utapi.listFiles();
console.log(files);...
Ut API – uploadthing
Docs for the best file uploader to date
1 Reply
Solution
Ut API – uploadthing
Docs for the best file uploader to date