#system('wget http://admin:admin@192.168.11.254/sd/DCIM/200MSDCF/_DSC3233.JPG'); my $wget = join("","wget -bqc http://",$User,":",$Password,"@",$CardIP,$datagram1,); system($wget); @arr = split('/',$datagram1); $arr_length = @arr; $new_photo = $arr[$arr_length-1]; $new_photo =~ s/[^[:print:]]+//g; print "Open ".$new_photo."\n"; sleep(3); system("killall shotwell"); system("shotwell $new_photo &");