Skip to content
Back

[SOLVED] how does uploading work with node

  • 0
  • Storage
Q T
14 Jul, 2025, 19:41

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?

TL;DR
Developers were trying to figure out how uploading works with Node.js and were having trouble with the InputFile class missing from the node-appwrite package. They checked their code and relevant documentation but couldn't find a solution. The issue was later resolved by updating to the latest version of the package which contained the needed class.
Kenny
14 Jul, 2025, 19:43

Is it from the import appwrite/file?

Q T
14 Jul, 2025, 19:44

No, from node-appwrite

Kenny
14 Jul, 2025, 19:44

node-appwrite/file

Kenny
14 Jul, 2025, 19:45
Q T
14 Jul, 2025, 19:45

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

Kenny
14 Jul, 2025, 19:46

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.

Q T
14 Jul, 2025, 19:46

Okay, that input worked.

Q T
14 Jul, 2025, 19:46

tysm

Kenny
14 Jul, 2025, 19:47

Cool beans!

Kenny
14 Jul, 2025, 19:47

[SOLVED] how does uploading work with node

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more