Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unzipped file name appears wrong #26

Closed
judgej opened this issue Jun 27, 2013 · 2 comments
Closed

Unzipped file name appears wrong #26

judgej opened this issue Jun 27, 2013 · 2 comments

Comments

@judgej
Copy link
Contributor

judgej commented Jun 27, 2013

We ran the script with more-or-less the same settings as in the README.md example. The output filename was "db_dump.sql.gz".

Running from a browser, this saved as "db_dump.gz.gz".

Unzipping this gave us "db_dump.gz", although that was actually an SQL file.

Somewhere the "sql" was being replaced with "gz" in the content disposition attachment filename.

Worked like a charm otherwise - a life-saver when you don't have command-line access to a server :-)

@judgej
Copy link
Contributor Author

judgej commented Jun 27, 2013

I've not yet looked into why this is happening, but I'll make a pull request if I find the cause. Probably won't for a week or two though - project deadlines loom.

@clouddueling
Copy link
Contributor

I'm going to close this for now but if you find it please make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants