Download selected file from remote server (2

Hi, some days ago I requested help to download a file from a remote server displaying all downloadable files of a directory. Nobody answered, so I tried to find a way out!
I succeeded to get what I wanted in the following way:

  1. I put in the remote directory a php file which set an array of all the downloadable files present in the directory. The php file sends the array coded by JSon to my application by echoing it.
  2. the application decodes the array and shows it by a tableView
  3. I select from the tableView the wanted file and send it to another scene which save it in systemDirectory.

If my solution is of any interest I can post the mentioned code.

1 Like

Hi, it will be good to see the mentioned code if you can share please.