You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The web-based job submission interface (get_output.php) downloads files
with unhelpful names; they don't tell you what job a file is from,
or its logical name, and they don't have the right extension.
I propose a new interface that fixes this by using download file names as follows:
Result:
if 1 output file: download name is resultname__logicalname
if >1 file: zip the files using their logical names; download it as resultname.zip
Workunit:
as above for the canonical instance.
Batch:
as above for all WUs in batch; return as batch_batchid.zip
Single file from a result:
download name is resultname__logicalname
The text was updated successfully, but these errors were encountered:
… files
Problem: the old interface for getting output files (get_output.php)
downloaded files with their physical name,
which is a cryptic string with no extension.
If the output file is, for example, a .zip, you don't see this.
You also don't see the logical name of the file.
Solution: give downloaded files better names.
For example, if a result has a single output file
with logical name 'output.zip',
download it as resultname__output.zip
Similar for multiple output files per result,
for workunits, for single files from a result, and for batches.
Fixes#5262
This can be used as a web API, or directly from web pages (submit.php)
This replaces the old interface,
but I'm leaving it there in case anyone is using it.
Add utility functions for
- getting the full path of an output file
- getting the logical names of a result's output files
The web-based job submission interface (get_output.php) downloads files
with unhelpful names; they don't tell you what job a file is from,
or its logical name, and they don't have the right extension.
I propose a new interface that fixes this by using download file names as follows:
Result:
Workunit:
Batch:
Single file from a result:
The text was updated successfully, but these errors were encountered: