Student .cpp assignment file incorrectly downloading as a .pdf file

Jump to solution
DR-BRZ
Community Explorer

Students who submit (upload) an assignment in a .cpp file extension format for a computer science course are not able to download the assignment as a .cpp file.  The download automatically downloads as a .pdf file.

 

 Image of student .cpp submission.Image of student .cpp submission.

As displayed in the image above, the assignment was submitted as a .cpp file.  Yet, the system automatically downloads the file as a .pdf.

The instructor restricted the file upload type to .cpp to see if this would correct the download issue; it did not.  

Restricted file upload to .cpp.Restricted file upload to .cpp.

Is there a workaround that will allow students to download non .pdf files in their original format- i.e., .cpp, or other types?

0 Likes
1 Solution
DR-BRZ
Community Explorer
Author

Thank you for your response and suggestions.

In this situation, the student who wished to download the submitted assignment wanted to do so as a result of wanting to download a pre-graded submission in order to make a correction to the assignment and resubmit. The student didn't have the original work available as they were on a different computer (hence no access to the original file). The instructor noted how this wasn't an issue previously and that students were able to download their submissions in .cpp format in previous semesters.

I have shared your response with the instructor and have directed her to work with our IT team on this issue.
Thank you, again, for responding.

View solution in original post