XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
DownloadFile Successful?? https://www.bbs.xwidget.com/viewtopic.php?f=8&t=3149 |
Page 1 of 1 |
Author: | KJags [ May 26th, 2013, 10:04 pm ] |
Post subject: | DownloadFile Successful?? |
hi im pretty new to xwidget so please excuse me this seems pretty obvious. im trying to determine if the DownloadFile function was successful. I see it takes 3 parameters and the function it self can return boolean but i dont know how to get it. eg Code: var status = DownloadFile(p1,p2,p3); print (status); //-----------------OR-------------------------------- print(DownloadFile(p1,p2,p3)); //--------------------------------------------------- DownloadFile(p1,p2,p3); // this works fine but i don't know if the download was successful. other than the obvious checking the //widget directory but i need this variable. In both print instances, in the debugger i get print: <-- //Nothing thanks in advance anyone. |
Author: | Tony [ May 28th, 2013, 6:11 am ] |
Post subject: | Re: DownloadFile Successful?? |
You need write codes in Widget's Event, etc: widgetOnload event excample widget: http://www.xwidget.com/xwidget/widgets/ ... 8/240.html |
Author: | KJags [ May 29th, 2013, 8:00 pm ] |
Post subject: | Re: DownloadFile Successful?? |
thank you for your reply. I had already searched through the forums (throughly if i may add), and had already found that widget. its a bit complicated for me, but i guess ill have another look. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |