Checking For File being open
Posted: Wed Dec 17, 2014 12:15 pm
Roger,
This is not for a dbf, just to clarify.
We import images, some users importing hundreds at a time to attach to different data files. Recently at one of our sites the import is crashing because somebody on the other end has one of the image files open. We fail in copying the file to the image save folder, and also will eventually fail when attempting to erase it when completed.
Is there a method to check to see if the file can be copied and just skip it until the next import? Not exactly an express or alaska quesiton, but thought somebody else may have run across this type of issue. Maybe some sort of if(copy) or something that already exists.
Thanks,
Fred
Omni
This is not for a dbf, just to clarify.
We import images, some users importing hundreds at a time to attach to different data files. Recently at one of our sites the import is crashing because somebody on the other end has one of the image files open. We fail in copying the file to the image save folder, and also will eventually fail when attempting to erase it when completed.
Is there a method to check to see if the file can be copied and just skip it until the next import? Not exactly an express or alaska quesiton, but thought somebody else may have run across this type of issue. Maybe some sort of if(copy) or something that already exists.
Thanks,
Fred
Omni