is there any way, how to play movie or get some file (ex. jpg, pdf) from distance FTP server? I've got an app on my PHP server and really lot of bigsized files, so I store it on FTP. I need to play (videos are the biggest problem) these videos via that app... I've found ftp_get() function, but it seems to work like - "copy this file to my php server and than play",... it's not acceptable for long time. Any ideas/solutions? PS: excuse me my english and maybe not so detailed description.
Asked
Active
Viewed 5,329 times
0
-
maybe you could try `curl` - it can connect via `ftp`. – violator667 Jan 11 '15 at 19:46
-
possible duplicate of [stream audio file from FTP server to Android App](http://stackoverflow.com/questions/8361609/stream-audio-file-from-ftp-server-to-android-app) – Steffen Ullrich Jan 11 '15 at 19:55
1 Answers
2
FTP is a file transfer protocol so it's not the right tool.
Few ways to do it:
-
First option looks really great and easy to use, but,... is it possible to use like a path to that file "ftp://..."? – Radim Kleinpeter Jan 11 '15 at 20:08
-
@RadimKleinpeter if you can always make your url like this `ftp://username:password@127.0.10.1/dir/video.mp4` – meda Jan 11 '15 at 20:34