Hi guys. I had a lot of headaches setting up this webcam after a firmware upgrade to version 1.2.0 but now its all almost done. I was trying to access the webcam from outsite to get the snapshot but as I had to setup again all my network with other equipment, I'm unable to access video from outside my lan so I decided to just make the cam upload a pic 10 after 10 min to my webportal www.miradouro.pt. I have the camera sending the pic to the ftp of the webhosting server but I have a problem. I have no idea how come I will make the latest pic to load when a person loads the camera frame as the pic has a weird name in the sequence. They are many snapshots named in this sequence: www.miradouro.pt/cam/08080116060400.jpg 08080115220100.jpg 08080115310300.jpg 08080115362900.jpg 08080115460400.jpg 08080115561300.jpg 08080116060400.jpg What can I do to fix this? any idea or website where I can download something like a php script or something to get me the latest pic from a folder and show it in a php page? The pics are there in a folder and I have to delete the old ones after some hours so I need a script that deletes old files and show the latest file inside that folder. Please help me because I have to fix this ASAP! thanks.