Page 1 of 1

FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Fri Oct 07, 2016 11:31 pm
by alexmman
Help me please.
On my TV D6530 do not work the following functions:
FilePlugin.Copy
FilePlugin.Unzip
FilePlugin.Delete.....but works FilePlugin.IsExistedPath function. Prompt me, in the D series, these functions work? or may have some peculiarities?

Re: FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Fri Oct 07, 2016 11:47 pm
by wluczykijwf
Probably the functions doesn't copy, unzip and delete everywhere - only to places with permission.

Re: FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Sat Oct 08, 2016 6:53 pm
by alexmman
wluczykijwf
Thanks for the answer.
Please tell me how can I get permission to write and delete. These functions have to run the widget installed in the TV. Is there a function to allow write access and deletion?.... or maybe there are other functions for copy and delete? I need this information to make possible the installation Skype for D series.

Re: FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Thu Oct 13, 2016 10:32 pm
by alexmman
No idea?

Re: FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Fri Oct 14, 2016 9:51 am
by sectroyer
alexmman wrote:No idea?
Use cp :)

Re: FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Sat Oct 15, 2016 1:43 pm
by juusso
directories with read only permissions (r) are not available for copy to... So you can only copy files to directories, what are mounted as read/write (rw).
What are you trying to copy and where? what goal you are trying to achieve?

Re: FilePlugin.Unzip and FilePlugin.Copy don't work

Posted: Wed Oct 19, 2016 8:29 pm
by alexmman
juusso wrote:What are you trying to copy and where? what goal you are trying to achieve?
My TV D6530 FIRMWARE 13.7
do not fire
r=eval("FilePlugin.Copy('/mtd_down/widgets/user/InstSkype/Skype','/mtd_down/widgets/user/11101044500')");

I want to make Skype installer for D Series, which not installed SamyGO. I can not copy the necessary files to the TV. These functions do not fire:
1.FilePlugin.Copy
2.FilePlugin.Unzip
3.FilePlugin.Delete