Added MessageBox when CanUpload() fails.