Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 04, 2012 10:01 AM by Mayil_Gilli
May 04, 2012 07:00 AM|LINK
We have developed one web application, here users can upload the cad file into server, each client having four different types of file typ1,type2,type3,type4. Each type having the different versions then need to show all the versions of file to client
we will show the latest versions in different color.
My question is how can I maintain these files in web server.
our Idea is by default
1. create one folder with client name (i.e client1, client2 etc...)
2. inside the client folder then we have four folders called type(type1,type2,type3,type4)
3. Inside the type1 we store the actual type1 dwfx file. (i.e Clientname_type1_v1)
if user uploads the same file type again then it should upload as Clientname_Type1_v2
How can I achive this? or let me know the perfect solution to maintain the multiple version files in web server?
May 04, 2012 08:24 AM|LINK
May 04, 2012 09:41 AM|LINK
How can I generate the version number dynamically?
May 04, 2012 09:44 AM|LINK
last version + 1
May 04, 2012 10:01 AM|LINK
Yes you are correct. so that we need to maintain the latest file version for each client, let me know the simplest way to do that
If i maintain one seperate table for each client latest version then every time need to qry the db and get the latest version then increment the values instead of that is there any other way to do this?