$datum = date("Ymd-His"); $remoteImage = "http://admin:PWD@IPADRESSE:PORT/cgi/jpg/image.cgi"; # KAMERAABHÄNGIG $localImage = "D:\VIDEO\BILD_".$datum.".jpg"; #ANPASSEN #Downloaden $content = @file_get_contents($remoteImage); if((strpos($http_response_header[0], "200") === false)) { return; } #Speichern file_put_contents( $localImage, $content );