I need some help and how to do the following...
I have web application where users can copy files from location A to Location B on the same server. The application passes the date range to the server method. The server script then get a list of files that matches the date range and copy those files to the new location .
If the total file size < max value then copy the file synchronously and notify the users when done
-- notify the user that job will be schedule as a batch process
-- execute the copy as separate process
I am making AJAX call to the server and I can copy file from location A->B but I not sure how to spawn off a process to do the copy in a background mode when the size > max Value