-2

I want be able to move files or folders using code from a website. As far as I know, it is possible with the OS, path, and fs modules of python or node.js. Is JavaScript running in a website able to manage files in a similar way? If this is not possible by default due to security issues, is there a way to enable it or work around that?

starball
  • 20,030
  • 7
  • 43
  • 238
devel.
  • 1
  • 2

1 Answers1

-2

No duo to security reasons this is not possible, imagine you visit a website and suddenly the can delete/update/read all you files on the PC!

The only way to do this would be maybe via shell access to the users pc, but this is quite impossible!