using stored credentials; catching upload exception