문제

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/");

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top