I want to be able to connect (from a server) to a remote PC and be able to access it's files. I am trying to do this with PHP or JavaScript.
So I am wondering if 1) it's possible and 2) how to do it.
Does anyone have any examples/solutions?
Thanks!
I want to be able to connect (from a server) to a remote PC and be able to access it's files. I am trying to do this with PHP or JavaScript.
So I am wondering if 1) it's possible and 2) how to do it.
Does anyone have any examples/solutions?
Thanks!
On the client side, you won't be able to manipulate the filesystem at will unless you have some help of an extension of some sort (e.g. NPAPI based).
Futhermore, you mention from server to client: I hope you are not implying starting a connection on the server side to a client browser because in this case this is clearly not possible.
Of course, if you are talking outside of the browser environment (e.g. using Javascript (Rhino)) on a Desktop application, then this changes the situation (and capabilities).
Well this is not easy to accomplish which is why FTP seems the reasonable approach. Especially, dealing with large files. The connection though will have to be initiated from the client side.