The 'add file' feature is to as the name indicates to help you with adding a file to a resource in your HydroShare account. This feature works smoothly without any glitches.
To try this on your own, you can use the code snippet below that is used in this demonstration.
auth = HydroShareAuthBasic(username= username, password= password)
hs = HydroShare(auth=auth)
fpath = temp_zip_path
resource_id = hs.addResourceFile(resourcein, fpath)
messages.error(request, "File added successfully")
if has_errors:
messages.error(request, "Please fix errors.")