NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: astahl on May 07, 2013, 07:02:00 AM
-
Hi,
Is there a way to select a folder on a WebBrowseForm?
Ashley
-
Hi Ashley,
you mean a folder name on the disk?
also - on a WebBrowse, or a Webform?
in short - tell us more about what you have in mind.
cheers
Bruce
-
Hi Bruce,
I have a WebForm that has 3 entry fields which contain a path to a folder. In my C8 app I have a button on a form for a file(Directory) lookup, but I have not seen anything like that in the NT WebForm dropdown field types. Is there another way to do that?
Ashley
-
Hi Ashley,
what you are talking about is really dangerous. you should never just let the server "read the folder structure" and offer it to the client unedited. That may well expose things you don't want them to see.
What I would do in this case is use the clarion DIRECTORY command to read whatever (under the web folder?) and then push the "acceptable" bits of that into a Memory table.
But I'd be very cautious here - remember you are exposing information to potential bad guys. Letting your user enter specific paths etc sounds like a bad idea,
cheers
Bruce
-
Hi Bruce,
The customer never see's this information. This is my setup information for a client. Actually the customer never see's really anything other then the main page and the login screen. This WebApp is just for upload and download of data. Nothing else. They can login in but that is it...nothing for them to do.
Ashley