IMDTouchKnowledge BaseShop main store

How-to

WinCC RT Advanced Miniweb File Browser Access and Log Files

HMI and touchscreens Published 6 min read

Short answer

The Miniweb file browser in WinCC Runtime Advanced serves only one folder under the Webserver directory, never the whole file system. Set the web user in the WinCC Runtime Advanced Internet (32-bit) Windows Control Panel applet, aim the data log Path at a subfolder of Webserver, or pull the logs over a Windows share instead.

On this page
  1. What the Miniweb file browser can and cannot serve
  2. Set the web user in the Windows Control Panel
  3. Enable the web server in the project
  4. Point the data log path into the Webserver folder
  5. Worked example: a ProcessValues log on a TIA Portal V15.1 runtime PC
  6. When to use a Windows share instead
  7. Two settings people confuse
  8. Questions asked

Yes, WinCC Runtime Advanced has a file browser in its integrated web server, but it does not work the way the Comfort Panel version does. On a runtime PC it serves exactly one folder inside the Webserver directory — not the drives, USB media or network mounts a Comfort Panel browser lists. You define the browser's user name and password in the Windows Control Panel applet WinCC Runtime Advanced Internet (32-bit), not in TIA Portal, and you get your log files into the browser by pointing the data log's Path at that Webserver folder. If you only need to pull files, a plain Windows share is usually the shorter road.

What the Miniweb file browser can and cannot serve #

The file browser lives under the web server's Websites pages. The scope is the boundary to understand before you configure anything:

  • It serves one folder within the Webserver context of the running project.
  • It does not enumerate drives, external devices, USB sticks or SD cards.
  • It cannot be widened to the whole file system through a project setting.

That limitation is deliberate. A Comfort Panel runs a closed embedded file system where listing storage is harmless; a runtime PC is a full Windows machine, and a browser page that listed its drives would be a remote file-management interface for the whole PC.

So the decision tree is short. If the files you want are data logs, point the log's storage path into the Webserver folder and download them through the browser. If the files live anywhere else, share the folder over Windows and copy them. The rest of this article walks through the first path.

Set the web user in the Windows Control Panel #

This is the step the Comfort Panel habit gets wrong. On the panel, the same settings live in the panel's own control panel; on a runtime PC, they live in the host Windows Control Panel, in the applet WinCC Runtime Advanced Internet (32-bit):

  1. On the runtime PC, open Windows Control Panel and start WinCC Runtime Advanced Internet (32-bit).
  2. Open the Web Server tab.
  3. Under User Administration, open the UserDatabase-Edit dialog.
  4. Click Add on the User manager tab and create the user the browser will authenticate with. Give it a strong password.
  5. Apply and close the applet.

The user you define here is the web server logon. It is separate from the users you manage in TIA Portal under Users and groups, which control the runtime screens and remote access roles — setting a user there does not give file browser access.

If you also use Sm@rtServer for remote control, its settings sit in the same applet on the Remote tab behind Change Settings. Configure the two independently: Sm@rtServer is the remote screen session, the Web Server tab is the pages and file browser.

Enable the web server in the project #

In TIA Portal, open the HMI device's runtime settings, go to the Web Server section (the Service pages area under Runtime settings) and enable the web server so the pages and the file browser are served. Compile and download, then start the runtime. The web server starts with the runtime, so any later change to users or settings takes effect on the next runtime start — stop and restart the runtime rather than rebooting Windows.

From any client that can reach the runtime PC, open the PC's address in a browser and log in with the user from the applet. The landing page lists the service pages, including the file browser.

Point the data log path into the Webserver folder #

Files appear in the browser only if the runtime writes them into the folder the browser serves. That is exactly what the data log Path setting controls.

Worked example: a ProcessValues log on a TIA Portal V15.1 runtime PC #

This is the thread's case: a Panel PC running WinCC RT Advanced under TIA Portal V15.1, where the log files never show up in the browser.

Inputs:

  • Runtime: WinCC RT Advanced on a Panel PC, project downloaded from TIA Portal V15.1.
  • Data log: one log named, for example, ProcessValues, storing CSV log files.
  • Storage target: a Logs subfolder inside the Webserver directory of the runtime project.

Rule: a data log is downloadable through the file browser when its Path points to a subfolder of the Webserver directory the browser serves; anything outside that folder stays invisible to the browser.

Steps and arithmetic of the decision:

  1. In the TIA Portal project tree, open the DataLogs editor, select ProcessValues and switch to its Path tab.
  2. Set the path to a Logs subfolder under the Webserver directory of the runtime project, for example the project's Webserver folder followed by Logs.
  3. Compile and download the project, then restart the runtime so the web server and the log writer both pick up the new path.
  4. Check: generate a log entry, open the PC address in a browser, log in with the applet user, open the file browser — the CSV now appears under Logs and downloads.

Decision: with the Path inside the Webserver folder, the browser is your download path; with the Path left anywhere else, the browser will never show the file and the fix is either this path change or a Windows share.

For the export itself, a scripted export gives you more control over file names and intervals than the browser does; the procedure for exporting WinCC RT Advanced data logs with VBS in TIA V13 (article:exporting-wincc-rt-advanced-datalogs-with-vbs-in-tia-v13) covers the script side. If a log then fails to appear or refuses a new name, the documented naming and cleanup behavior for S7-1500 data logs (https://industrialmonitordirect.com/blogs/knowledgebase/s7-1500-datalogs-require-exact-names-or-webserver-cleanup) explains the exact-name requirement behind it.

When to use a Windows share instead #

The runtime PC is ordinary Windows, so you can share the log folder through normal file sharing and copy files from your engineering station with no browser involved. That is the more robust answer when:

  • You need files from several folders, not just one log directory.
  • Operators or engineering staff pull files routinely, and folder permissions are the cleaner control than a web logon.
  • You are tunneling through a remote-access box anyway, and the tunnel can carry file traffic as well as browser traffic.

Keep the share's permissions tight — the principle of auditing who can actually read a shared folder (https://industrialmonitordirect.com/blogs/knowledgebase/file-share-permission-audit-preventing-hr-data-exposure-on-smb) applies to a runtime PC just as it does to any file server. The same reasoning shows up in the SFTP case, where an HMI cannot see the SD card data log files until the storage path and the access account agree (article:why-hmi-sftp-cannot-see-the-sd-card-data-log-files).

Two settings people confuse #

  • The web browser logon comes from the WinCC Runtime Advanced Internet (32-bit) applet. The TIA Portal user manager is a different credential set and does not open the file browser.
  • The browser serves the Webserver folder only. Moving, renaming or deleting that folder breaks the browser's file listing; leave it where the runtime expects it and point logs into it.

Safety note: a runtime PC that also serves web pages to a plant network should sit behind the same segmentation as the rest of the cell — a file browser that hands out process data over HTTP is one more reason the runtime PC belongs on the OT side of the firewall, not the office network.

Questions asked

Where do I set the user name and password for the Miniweb file browser on a WinCC RT Advanced PC?

On the runtime PC, open Windows Control Panel and launch the WinCC Runtime Advanced Internet (32-bit) applet. On its Web Server tab, open User Administration, then the UserDatabase-Edit dialog, and add a user on the User manager tab. The TIA Portal user manager is a different logon and does not set this one.

Why can I only see one folder in the file browser when a Comfort Panel shows the drives?

A Comfort Panel runs a closed embedded file system, so its browser can list mounted storage. A WinCC RT Advanced runtime runs on Windows, and the integrated web server deliberately limits the browser to a single folder inside the Webserver directory so a remote page cannot enumerate the PC's drives, USB media or network mounts.

Can I download data logs through the browser without changing the storage path?

No. Files only appear in the file browser if they are written into the Webserver folder. Set the log's Path tab in TIA Portal to a subfolder of the Webserver directory, recompile and download, then restart the runtime so the new path takes effect.

What is the simpler way to collect log files from a WinCC RT Advanced PC?

Share the log folder over the network with normal Windows file sharing and copy the files from your engineering station. The PC is a full Windows machine, so an SMB share gives you the whole folder with ordinary permission control, which is usually less work than routing downloads through the web browser.

How do I restart the web server after changing its settings?

Stop the runtime and start it again. The integrated web server launches with the runtime, so new users, ports or certificate settings apply on the next start. You do not need to reboot Windows, only the runtime.

Keep reading

  • How-to

    Configure the FX5U MC Protocol side for WinCC RT Advanced

    Configure the FX5U side in GX Works3 as one SLMP connection in the CPU's Ethernet settings: protocol SLMP, UDP transport, local port 5002 — the destination port the WinCC RT Advanced Mitsubishi MC Protocol driver sends to. Download the settings, then prove one device-address tag live before restoring the full project.

    HMI and touchscreens

  • How-to

    Run a TIA Portal V14 HMI on WinCC Runtime Advanced

    Compile the HMI for its configured WinCC RT Advanced target, transfer the compiled application, and select it in RT Loader. Match the configured device version to the runtime installed on the workstation. Verify Windows support and use a valid runtime license sized for the application.

    HMI and touchscreens

  • Troubleshooting

    Why HMI SFTP Cannot See the SD Card Data Log Files

    On a PanelView Plus 7 Series B terminal, the SFTP service publishes internal storage only; the SD card and USB drives never appear to a remote client. A data log whose path root is removable media cannot be retrieved remotely until you redirect it to internal storage or copy it at the terminal with the file explorer application.

    HMI and touchscreens