works on download script

This commit is contained in:
Hugo LAMY
2022-08-17 20:41:22 +02:00
parent 875810c992
commit df24de46c7
5 changed files with 19 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ int main (int ac, char **av, char ** env)
path = get_value("file", rq_body);
path = "./www/" + path;
status = ::eval_file_read(path);
status = ::eval_file_access(path, R_OK);
if (status)
{
std::cout << "Status: " << status << CRLF CRLF;