Every day in my server are copied some images via ftp.I want for every image a thumbnail to be created immediately after copying.Is there a way to catch this ftp event?Or i must check periodically for changes? I'm on apache server using php. Thanks
You can use iNotify which has an PHP API. So every new file added to an specific directory, you execute an script to handle that and create the thumbnails.
Do you need to do it on the FTP event? Perhaps you could defer it to when the image is first displayed