Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   URGENT....Creating a new dir frm client in server machine (http://www.go4expert.com/forums/urgentcreating-dir-frm-client-server-t599/)

compstudy 19Feb2006 00:54

URGENT....Creating a new dir frm client in server machine
 
Hi,
I would like to knw: In JAVA, how shld i create new directory in a server machine as a result of an action of client interaction?
i.e suppose one client is uploading a file to the server.I want to create a directory in the server with the name of dir. as d name of d file to be uploaded and dis dir. will contain the uploaded file.
Plz reply to my query

shabbir 19Feb2006 08:59

Re: URGENT....Creating a new dir frm client in server machine
 
It depends upon your requirement.

As an example suppose you name the files in your server as ClientUniqueId+FileUniqueId then its better to have a single folder for all the uploads.

If you have just a filename then its better to have the Client Folder created. There is no hard and fast rule but just what is better in your situation and can easily be understood.


All times are GMT +5.5. The time now is 03:54.