
It's been a while since i used my appwrite instance. I spun up a server 1.7.4 and downloaded the newest cli. Created a fucntion and the node-appwrite packed does not contain the InputFile class anymore. THe docs still mention it. Am I missing something?

Is it from the import appwrite/file
?

No, from node-appwrite

node-appwrite/file

That's what it looks like here
https://github.com/appwrite/sdk-for-node/blob/main/package.json#L23-L27

Lol okay, ill try that. I looked at an old repo of mine and it was exported from the index.
Ide wasnt able to find it

If I was at a computer I'd try :P If that isn't it I'll look when I get home, unless someone else knows.

Okay, that input worked.

tysm

Cool beans!

[SOLVED] how does uploading work with node
Recommended threads
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- getFilePreview() doesn't work with react...
const fileurl - await storage.getFilePreview(appwriteConfig.storageId, fileId, 2000, 2000, 'top', 100); console.log('Uploaded file URL: ' + fileUrl); // LOG -> ...
- Error enabling ClamAV
running Appwrite 1.7.4. I am trying to enable ClamAV so un-commented ClamAV in docker compose. The container got pulled and started. Now with the ClamAV contain...
