Portal download file results on zero length file.
Since the change to using obfuscated filenames when files are stored, the Customer Portal cannot work when portal user tries to download a file...
This line:
Only requests the file name and path, not the storedname value.