Fix a null pointer exception

Also added return data to dropSuccess so I would not need to make a 2nd call to get the info for the file I just uploaded.