Dear Acqua Alta,
at this moment there is no way to retrieve files created by the code of the students, really you can not get any files from the execution environment.
But if you want to check the existence and content of files created by the student code you can use the features of the test cases to check it.
For example, to check the existence of a file after a given test, you can:
1- Write a script to check the file's existence and its content.
2- Add a test case that runs the script.
The test case after the case that creates the student file.
Case = Checks file content
program to run = check_file.sh
program arguments = student_file.txt correct_file.txt
Fail message = The file created does not exist or does not have the expected content
output = "OK"
The script "check_file.sh" that checks the student's files. Notice: first parameter student file, second correct file.
#!/bin/bash if [ -f "$1" ] then diff "$1" "$2" >& /dev/null if [ "$?" == "0" ] then echo "OK" else echo "Differ" fi else echo "The file $1 does not exists"
Note: the script and the correct files must be in the execution files and in "files to keep when running"