How can I create a folder on Android device, download from ftp-server video and save it there?


You can create directory in andriod

using System.IO.Directory.CreateDirectory(path)

string path = "/storage/emulated/0/MyFolder";


and you can download any resource form the web using WWW.

| improve this answer | |
  • \$\begingroup\$ Will it work on Android? \$\endgroup\$ – GuardFromUA Dec 6 '17 at 12:31
  • \$\begingroup\$ yes try it first separately and let me know. \$\endgroup\$ – Muhammad Faizan Khan Dec 6 '17 at 12:32
  • \$\begingroup\$ Would this be a case where you want to use Application.persistentDataPath to help keep your app's saved files organized in a consistent spot? \$\endgroup\$ – DMGregory Dec 6 '17 at 12:38
  • \$\begingroup\$ @DMGregory Sorry docs.unity3d.com/ScriptReference/… is much better choice. \$\endgroup\$ – Muhammad Faizan Khan Dec 6 '17 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.