Look in the environment for upload directory.