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

[feature] Add possibility to download result files of the script #34

Closed
bugy opened this issue Jun 28, 2016 · 2 comments
Closed

[feature] Add possibility to download result files of the script #34

bugy opened this issue Jun 28, 2016 · 2 comments
Labels

Comments

@bugy
Copy link
Owner

bugy commented Jun 28, 2016

Some scripts can create file(s) as a result of execution. There should be a possibility to download these files.

@bugy
Copy link
Owner Author

bugy commented May 1, 2017

Have implemented the first version of download feature. Now admins can specify list of files in script json file, which should be available for download after script is finished.
Files can be specified as a path (with * and ** wildcards), or can be specified as a regex (use # at the beginning to treat file as a regular expression) for find matches in script output (if file path is dynamic and unknown in advance).
Downloadable files are copied into temp folder and are accessible only by the user, who run the script. Temp folder is cleaned after 24 hours.

Should be tested on real environment and also on Windows

@bugy
Copy link
Owner Author

bugy commented May 14, 2017

Tested on WIn and also made couple of fixes

@bugy bugy closed this as completed May 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant