
0
Under review
FileRun API — File Download
Tried the FileRun API but file download doesn't seem to work. How can I get that working? Also how can I get Mp3 path to play on a different platform? Please advise.
Customer support service by UserEcho
Does downloading files via the FileRun Android app works for you?
How do you mean?
I'm using Android. Just the a web browser.
Also, I mean if I wanna have a music player to play the music file in drive, I need the full path of the mp3 file. How do I get that from the API?
Got it?
It does not answer my question.
No.
The API test you have on GitHub: https://github.com/filerun/api-client
It has different method calls for different purpose. What I'm saying is this, download file method doesn't work.
Its not downloading any file
//DOWNLOAD FILE
$rs = $FileRun->downloadFile(['path' => $relativePath.'/'.$fileName]);
if ($rs) {
echo 'Downloading file '.$fileName.':<br>';
echo '<div style="border:1px solid silver;background-color:whitesmoke;padding:5px;">'.$rs.'</div><hr>';
} else {
exit('Failed to download file: '.$FileRun->getError());
}
Make sense now?