Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: file upload question: where are the files stored?

file upload question: where are the files stored? 2 years 10 months ago #99955

  • ricardo
  • ricardo's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
I'm having problems downloading files uploaded using the Upload file question type. Where are these files stored? How can I download them?
The administrator has disabled public write access.

file upload question: where are the files stored? 2 years 10 months ago #99969

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
You can download them in "browse response" page.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

file upload question: where are the files stored? 2 years 10 months ago #99982

  • ricardo
  • ricardo's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
Thanks Dennis,

I cannot download them from the browse response page because ALL files uploaded by 150+ people are corrupted.

So I'd like to check if the files are corrupted after downloading them or when uploading them.

To find 1 or 2 corrupted files wouldn't be anything out of the ordinary...but every single file is not a coincidence.

so, I'd like to know if there's a way to get to those files that is not through the browse/display response page
The administrator has disabled public write access.

file upload question: where are the files stored? 2 years 10 months ago #100001

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
Hi,

In the database you have the new filename : something like this jgftftsqd5454hhgh .
And the file are in
./upload/survey/{SID}/files

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

file upload question: where are the files stored? 2 years 9 months ago #100276

  • DWS
  • DWS's Avatar
  • Offline
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 2
but this is not very helpfull, because not only the filename is changed, also the extension, so I can't get directly from the directory, I have to get it from the responses view.

Also if I try to download it from the resources menu, I get the zip with this wrong file name and wrong file extension.

So, there's anyway to get the file directly from the directory?

thanks
regards
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.299 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form