Can you post the upload and processing code you are using? ---------------------- William Seiter
On Nov 28, 2011, at 5:19 PM, Mo Lay <[email protected]> wrote: > >> What kind of a file is it? >> >> you might have to use the wait command so that your system has time to >> stop using the file. >> >> For instance, was the file uploaded, then processed for its internal >> information? >> >> maybe its a video file that is being processed by the system? >> >> Thanks, >> William >> >> ---------- >> William E. Seiter > > > Hi William, > > It is a xls file. > My file is uploaded an after couple checks , if check fails i delete the > file. Then thing is the user has to wait all that time to have that message. > i am looking for a way to stop the system from using that file and be able to > delete ..or at least show the message and the deletion will run in the back > end ? > > > thoughts ? > > Mo > >> >> >> On Nov 28, 2011, Mo Lay <[email protected]> wrote: >> >> >> Hi Peers, >> i have an issue deleting an existing file in a specific directory..It >> says could not delete the file for unknown reason.. >> >> i have googled that lit bit and was able to delete the file after a >> waiting time of 1.5 min using the following statement : >> >> <cfset createObject("java", "java.lang.Thread").sleep(JavaCast("int", >> 90000))>. >> >> this is long waiting time for my users.. >> >> Is there another way to stop / disconnect the file process and try to >> delete it ? >> >> thank >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5737 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
