Join GitHub today
unable to download certain filetypes #342
I'm trying to distribute files to some folks using S3auth. (I own the rights to the files, by the way). If the file is in zip format, it works as expected. But it won't prompt to download doc, docx and excel files.
edit: It looked like you folks had fixed it for a brief time yesterday. But it is now no longer working again.
Is this an expected behavior? Can that be changed?
I'm currently able to just link to those files in my s3 bucket and users are prompted to download them. But once I put s3auth in front of the bucket, I get a java.io exception.
I love the app/service and appreciate your feedback.
The error I am seeing is (in part) below:
java.io.IOException: failed to fetch /projects/2016/release.docx from 'my.domain.com' (key=XXXXXXXXXXXXXXX): ["'projects/2016/release.docx': Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: XXXXXXXXXX)", "'project/2016/release.docx': Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: XXXXXXXXXXXXXX)", "'projects/2016/release.docx+suffix': Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: XXXXXXXXXXXX)", "'projects/2016/release.docx+suffix': Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: XXXXXXXXXXX)"] at com.s3auth.hosts.DefaultHost.fetch_aroundBody2(DefaultHost.java:228) at com.s3auth.hosts.DefaultHost$AjcClosure3.run(DefaultHost.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:212)
I noticed that if I add the user to a group with higher permissions, s3Auth now displays an autogenerated page that makes it seem that s3auth sees excel files as a directory, not an file.
This is what I see after clicking on the link to an excel file:
This is page is auto-generated by s3auth.com.
The prefix is: projects/2016/xxxxxxxx.xlsx/
@bobweston I'm sorry this bug is still not fixed. We didn't have enough funds/time to work on the project. However, recently we received some donations from our grateful users and will continue to fix issues and introduce new features. Would be great if you can also donate -- to help us move forward faster. Here is the link: https://www.0crat.com/contrib/C3RP1J1CH