Pregunta

I have a site that can generate questionnaires to my survey app in android.. all the questionnaires goes to a single folder. Is there a way to download all the questionnaires without knowing every single address of the questionnaires? I already know how to download a single file, but I want to download an entire folder/directory form a website using java

from private static String file_url = "http://umsurvey.comlu.com/admin/question/";

to OutputStream output = new FileOutputStream(Environment.getExternalStorageDirectory()+"/Question/");

¿Fue útil?

Solución

I don't think you can. but you can generate a text file from your php that every-time you generate a questionnaires the file name of the questionnaire will add to the text-file.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top