flowit Posted September 15, 2015 Share Posted September 15, 2015 Hey everyone, I am writing a small web app where the user can select files to be processed. The processing takes place on another server and the (huge) files are stored on a Network Share. So all I need is a possibilty to select a file path and use it like a text input field. How would I do that? Link to comment Share on other sites More sharing options...
niche Posted September 15, 2015 Share Posted September 15, 2015 Do you have any code so far? Link to comment Share on other sites More sharing options...
COBOLdinosaur Posted September 15, 2015 Share Posted September 15, 2015 Just use a text input field and validate it on the server to insure it is specifying a valid path. Link to comment Share on other sites More sharing options...
flowit Posted September 15, 2015 Author Share Posted September 15, 2015 @niche: No. I was hoping for a simple Html form solution, not scripting something in JS to offer some kind of file explorer.@COBOLDinosaur: Well yes, this would be an option. But it is far from convenient. Walking through the file system would help a lot if the user does not know where the file is located or its exact name. Link to comment Share on other sites More sharing options...
COBOLdinosaur Posted September 15, 2015 Share Posted September 15, 2015 You either have to script it, or when you send the form you display a list of files. There is no dynamic solution without scripting. HTML by itself is static it needs scripting and/or css to do anything beyond basic rendering. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now