Get file by name

0 votes

Hello I'm using the "uploadService:getFileByName(fileName,App42CallBack)" method. It works and prints the success message. But I'm not sure how to work with the actual file that I get back. In

function App42CallBack:onSuccess(object) 

the docs don't specify what other attributes the "object" parameter has other than type, description..etc. 

Do I need to use the built-in Lua/Corona function "" and pass "bject:getFileList():getUrl() " ?

asked Oct 15, 2017 in Corona by abdelghafour.mohie (15 points)
edited Oct 15, 2017 by abdelghafour.mohie

1 Answer

0 votes
Best answer



Yes, you are correct. You need to use Lua/Corona function to download the file from URL. Let me know if you need any other help from our side. 


Himanshu Sharma


answered Oct 16, 2017 by hs00105 (2,005 points)
selected Oct 16, 2017 by abdelghafour.mohie
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on