ThiagoFiorilli Posted August 21, 2023 Share Posted August 21, 2023 In VLC, I select a directory using TOpenDialog. Is it possible to do this in Unigui projects? Quote Link to comment Share on other sites More sharing options...
Skyp Posted August 21, 2023 Share Posted August 21, 2023 Hi. See files in Server (backend) (for example): For uploading files from client pls use TUniFileUpload or buttonupload. Or is it about something else? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 22, 2023 Share Posted August 22, 2023 13 hours ago, ThiagoFiorilli said: In VLC, I select a directory using TOpenDialog. Is it possible to do this in Unigui projects? Hello, Okay. Client directory? And what is it for? Quote Link to comment Share on other sites More sharing options...
Ron Posted August 27, 2023 Share Posted August 27, 2023 It is possible to access local files (at the client), but not directly due to security reasons. Only indirectly, through a server installed on the client computer - it could be a TCP server, FTP or HTTP. In such a case, one needs to create and install the server, and make a custom directory listing routine. Using HTTP, you can use CORS calls, that is call a local resource from the client, like a webserver on port 80 on localhost/127.0.0.1, using Javascript. You can also run the call from the server, but then you have to go through the firewall at the client network. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.