3

I want to allow user to download some files using Luci web user interface of my openWrt linux . I have uploaded my files in /etc and /tmp folders of openWrt. But i dont know how can i give a url of this uploaded files to user . Can any one help me ? Thanks in advance

Jafar Abedi
  • 133
  • 2
  • 10

1 Answers1

2

The easiest way is to create a symlink to this file in /www directory. For example, to download /etc/passwd file

ln -s /etc/passwd /www/test

Then, in your web browser, go to 192.168.1.1/test to download the file.

Vasily G
  • 859
  • 8
  • 16