I have a program that reads CSV file, processes the data and stores it in a database. Its basically a text import to database program.
How can I prevent more than one user at a time running the import program and duplicating the data? Is there a way of locking the .csv input file?
Dazed and confused
How can I prevent more than one user at a time running the import program and duplicating the data? Is there a way of locking the .csv input file?
Dazed and confused