Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

System and SysUtils not supported?

 Post Reply Post Reply
Author
John Kouraklis View Drop Down
New Member
New Member
Avatar

Joined: 21 Jan 2018
Posts: 7
Post Options Post Options   Quote John Kouraklis Quote  Post ReplyReply Direct Link To This Post Topic: System and SysUtils not supported?
    Posted: 11 Aug 2018 at 8:32pm
Hi,

I am trying to use methods like CreateDir and File Streams but pas2js complains that the units can not be found. 

According to the documentation, SysUtils and System are supported.

Do I need to add some paths in library?

Thanks
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7895
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 13 Aug 2018 at 3:03pm
SysUtils unit and System unit are provided. Please note though that any API to do local file access is absent. For safety and security reasons, a web client browser application has no direct local file access.
Back to Top
John Kouraklis View Drop Down
New Member
New Member
Avatar

Joined: 21 Jan 2018
Posts: 7
Post Options Post Options   Quote John Kouraklis Quote  Post ReplyReply Direct Link To This Post Posted: 17 Aug 2018 at 9:01pm
If the application has the right permissions then it should be able to write local files on servers. Isn't it right?
How else can logs and config files can be produced?
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7895
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 19 Aug 2018 at 11:26am
A TMS WEB Core web client application uses the single-page application architecture http://singlepageappbook.com/goal.html and that means the application runs in the browser. Access to server is typically done via HTTP requests. Hence, a server side application controls via HTTP requests what can be accessed server side or not.

Edited by Bruno Fierens - 19 Aug 2018 at 11:27am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down