Take pictures on demand, Fixed crash on ftp upload