move files according to items position in the tree
Posted: Wed May 13, 2009 8:17 am
Hi,
I have a folders Tree displayed using ajax in which is possible to drag and drop items inside folders.
I can modify the structure of a json file using xmlHttpRequests.
The json file contains the files and folders in a specific directory on the server.
I want now to move the files according to JSON updates in order to move files on the server according to the movement of items in the tree on the client.
Should I skip the JSON file ? How should I read it to change the filesystem structure ?
What do you suggest me to do ?
thanks
I have a folders Tree displayed using ajax in which is possible to drag and drop items inside folders.
I can modify the structure of a json file using xmlHttpRequests.
The json file contains the files and folders in a specific directory on the server.
I want now to move the files according to JSON updates in order to move files on the server according to the movement of items in the tree on the client.
Should I skip the JSON file ? How should I read it to change the filesystem structure ?
What do you suggest me to do ?
thanks