Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
ZTE MF283U 4G Unlocked Router (Used)
ayanthamaxi
Updated:
Sunday at 8:26 PM
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Saturday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Jul 15, 2026
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Jul 15, 2026
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Jul 15, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
JavaScript / HTML Help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="HAneo" data-source="post: 27375414" data-attributes="member: 17432"><p>The way js behaves it does not allow you to access OS resources directly. so getting the full path for a file name is impossible.</p><p>so that is why it created a hook File input. so you have to first go through browser native api's and it will return the file for you.</p><hr /><p>I guess your requirement is to open a file without user intervention.</p><p>so in order to do so you have to create a simple static file server and get the download URL. (Simple 2 min node js app , or asp.net core app or other simple app)</p><p>and have the user upload all the files they need and arrange them. then you can create a config file </p><p></p><p>Report1DocURL: '<a href="https://elakiri.com/docs/report1.csv" target="_blank">https://elakiri.com/docs/report1.csv</a>',</p><p>Report2DocURL: '<a href="https://elakiri.com/docs/report2.csv" target="_blank">https://elakiri.com/docs/report2.csv</a>'</p><p></p><p>then you can access Report1DocURL config variable and get the file from the server and have it processed. </p><p>This is i think the slandered way to do this</p><p>------ <span style="font-size: 10px">Post added on [DATETIME="UT"]1644824045[/DATETIME]</span></p></blockquote><p></p>
[QUOTE="HAneo, post: 27375414, member: 17432"] The way js behaves it does not allow you to access OS resources directly. so getting the full path for a file name is impossible. so that is why it created a hook File input. so you have to first go through browser native api's and it will return the file for you. [HR][/HR] I guess your requirement is to open a file without user intervention. so in order to do so you have to create a simple static file server and get the download URL. (Simple 2 min node js app , or asp.net core app or other simple app) and have the user upload all the files they need and arrange them. then you can create a config file Report1DocURL: '[URL]https://elakiri.com/docs/report1.csv[/URL]', Report2DocURL: '[URL]https://elakiri.com/docs/report2.csv[/URL]' then you can access Report1DocURL config variable and get the file from the server and have it processed. This is i think the slandered way to do this ------ [SIZE=2]Post added on [DATETIME="UT"]1644824045[/DATETIME][/SIZE] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom