[luci] How to program a custom file upload

Chillifire contact at chillifire.net
Tue Mar 2 21:19:03 CET 2010


Can no one give advice on this? 

Is it that hard or is there so little interest?

Cheers

Hanno

 

From: Chillifire [mailto:contact at chillifire.net] 
Sent: Thursday, 11 February 2010 8:40 p.m.
To: luci at lists.subsignal.org
Subject: [luci] How to program a custom file upload

 

Dear All,

 

I am quite familiar now with creating CBI config screen and custom views.
However, I now want to include a custom file upload field and I am lost. I
tried to understand the code in the flash firmware screen, but I got
cross-eyed.

 

Can one of the developers for documentation purposes outline how to include
a file upload function into a Luci screen, and how to save the uploaded file
somewhere onnthe router. Ideally, the file upload should have a file size
checking function prior to the actual upload to protect the innocent.

 

Any input welcome.

 

Thanks

 

Hanno Schupp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.subsignal.org/pipermail/luci/attachments/20100303/51ad2e61/attachment.htm 


More information about the luci mailing list