Connecting to photo upload server