Javascript or other language to move desktop files [closed]
i want to be able to move pictures from desktop to desktop folder "pictures" can it be done via JS? if not maybe Ajax, PHP, HTML?
any way it's possible?
edit: I do not want to do it on my server on web users, so I understand it cannot be done how about if they allow it (Java?)
It can't be done using any web technology.
EDIT: Not in a meaningfully useful way. Like the other answers have pointed out, you can use ActiveX objects with IE or move files on a server using PHP. But this is not generalizable.
If your executing the file on the local machine you could create a batch script, however this can't be done from the web.
you could use JS with ActiveX akl JScript. VBScript, hell you can use PHP to move files around. I would just use a shell script.
You can with JS if you use ActiveX (only on IE), and with php if the php server is the computer where you want to move files.
It is easy to do with PHP so long as you are moving files on the server. This can be triggered from a client, but PHP can not move files on a client.
If the server and client are the same machine, then a batch script is probably more appropriate
精彩评论