dlbrown06 Posted February 22, 2010 Share Posted February 22, 2010 Long time reader, first nub post! Okay, without going too much into it I have this PHP script that moves an entire directory to another location on a different server on the same network. It works great, EXCEPT when someone has a folder open that is in the directory. The script only moves part of the directory and then crashes because it is unable to move the file that is open obviously. My question. Is there any good method I can use to check if all the files are not opened by a user before I begin transfering the directory? Link to comment https://forums.phpfreaks.com/topic/192976-using-php-to-move-folder-directories/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.