Fixed photo printing.
Updated logic to test for valid ftp configuration.