[Klone-users] Downloading files with Klone

Alvaro Pereira alvaro.pereira at guidance.eu.com
Wed Nov 28 05:21:59 EST 2007


Hi

 

I have been trying now to download files (instead of uploading) from the
Klone web server. My targets are text files. So I have included the
following HTML code:

 

<a href="file.txt">download file</a><br><br>

 

The reason for this is that after upgrading our firmware it might be
necessary to have a look on installation logs which are usually txt
files. I have placed the above example file in several different folders
but Klone never finds it. Where is the web server's root? Where is it
actually looking for 'http://xx.xx.xx.xx:8080/file.txt'? I understand
this is defined in the configuration file kloned.conf.

 

So I have the following attributes:

server_list    app_http

allow_root yes

app_http

{

    type            http

 

    addr.type       IPv4

    addr.port       8080

    dir_root        /www

}

 

What happens if 'allow_root' is deleted? It is also my understanding
that the directory './webapp/www' is my web server root. This is where I
placed all my html and Klone files, as well 'file.txt'. What can I do in
order to be able to download text files using hyperlinks? 

 

 

I have also another question on the same subject:

 

When I copy and install KLone on my embedded system (after build) I
normally copy the .wc and kloned.exe files. I suppose the html and kl1
pages are embedded into the Klone executable. Then I start the service
again. 

 

Is it really necessary to copy the contents of the /webapp folder as
well? My guess is that copying /etc and /www is not mandatory. Is this
right?

 

But even so, how can I sort the downloading problem? I have tried
placing file.txt in the folder where kloned.exe is located but it did
not work either. 

 

Regards,

Alvaro

This e-mail (and any attachment) is intended only for the attention of the addressee(s). Its unauthorised use, disclosure, storage or copying is not permitted. If you are not the intended recipient, please destroy all copies and inform the sender by return e-mail.   Internet e-mail is not a secure medium. Any reply to this message could be intercepted and read by someone else. Please bear that in mind when deciding whether to send material in response to this message by e-mail.

This e-mail (whether you are the sender or the recipient) may be monitored, recorded and retained by Guidance Navigation Limited, Guidance Monitoring Limited or any other member of the Guidance group of companies.  E-mail monitoring / blocking software may be used, and e-mail content may be read at any time. You have a responsibility to ensure laws are not broken when composing or forwarding e-mails and their contents.

Guidance Monitoring Limited (Co No 2626613) and Guidance Navigation Limited (Co No 5231840) are wholly owned trading subsidiaries of Guidance Limited (Co No 5231837).   All Guidance group companies are registered in England and Wales with Registered Offices at 4 Dominus Way, Leicester, LE19 1RP.  Please note that nothing in this email may be considered to be binding upon Guidance Limited unless the email is from a Director of Guidance Limited and the text refers specifically to commitments by Guidance Limited, rather than one of the above trading companies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20071128/975780c6/attachment-0001.html


More information about the klone-users mailing list