TP177B FTP Error 530: Resolving WinCE 3.0 Pocket IE FTP Issues

David Krause14 min read
HMI / SCADASiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. Problem Overview

The Siemens SIMATIC TP177B (6-inch and 4-inch variants) ships with Windows CE 3.0 embedded and the legacy Pocket Internet Explorer browser engine. Engineers who attempt to load files, recipes, logs, or firmware into the panel over FTP from a Windows 7 (or later) PC running Microsoft IIS FTP, FileZilla Server, or any RFC 959-compliant FTP daemon frequently encounter a reproducible fault pattern:

  • Navigating to ftp://192.168.0.155 on the panel returns error 530 ("Not logged in" or "Login incorrect").
  • Navigating to ftp://user:[email protected]/ produces no error and no listing; the browser sits idle or shows a blank page.
  • Other Windows PCs on the same subnet can list the FTP root and download files without issue.
  • The same FTP server is reachable from an MP277 running Windows CE 5.0 using its standard Internet Explorer browser without modification.

This behavior is not a network fault, an IIS misconfiguration, or a firewall rule. It is a documented limitation of the WinCE 3.0 Pocket Internet Explorer FTP client, and it cannot be resolved by upgrading the panel operating system or the browser.

2. Affected Hardware, Firmware, and Software Versions

Component Affected Versions Notes
SIMATIC TP177B (6" mono, 6" color, 4" variants) All firmware revisions supporting WinCE 3.0 Catalog: 6AV6 642-0BA01-1AX1, 6AV6 642-0BC01-1AX1, 6AV6 642-0AA01-1AX1
Operating system Windows CE 3.0 (H/PC 2000 image) Frozen; Siemens does not publish CE 3.0 updates
Browser Pocket Internet Explorer (PIE) — built-in Cannot be replaced or upgraded by the user
Configuration software WinCC flexible 2004 SP1 through WinCC flexible 2008 SP5 Last version supporting TP177B
PC server platform Windows 7, Windows 10, Windows Server 2008 R2 / 2012 R2 IIS FTP 7.5/8.5, FileZilla Server, Gene6 FTP tested
Reference Siemens KB entries Entry ID 15250466 and 13336639 (Siemens Industry Online Support) Confirm TP177B file transfer / FTP behavior
Important: The TP177B's embedded WinCE 3.0 image and Pocket Internet Explorer binary are signed and locked. Siemens does not offer an upgrade path to WinCE 4.2/5.0 or to a newer browser for this panel class. Any attempt to reflash with a different CE image is unsupported and will void warranty.

3. Prerequisites for FTP File Transfer to a TP177B

Before troubleshooting, verify the engineering environment meets all of the following conditions:

  1. Network reachability – the panel and PC share a subnet (e.g., 192.168.0.x / 255.255.255.0) with no VLAN or router ACL blocking TCP port 21 (control) and the dynamic data port range (typically 1024-65535 in passive mode).
  2. Control Panel / Network on the TP177B shows the configured IP, subnet mask, and default gateway. Use Start → Settings → Network and Dial-up Connections on the panel.
  3. FTP server installed and listening on the PC. On Windows 7 with IIS, verify with netstat -an | findstr :21 – the line 0.0.0.0:21 LISTENING must appear.
  4. FTP user account created with Read (and Write, if uploading) permission on the virtual directory.
  5. FTP Basic Authentication enabled. IIS by default permits anonymous; if anonymous is disabled, the client must supply credentials.
  6. FTP over SSL/TLS disabled in the IIS FTP site settings. WinCE 3.0 Pocket IE does not implement FTPS (RFC 4217) and cannot negotiate AUTH TLS.
  7. Firewall exception for the FTP service. Windows Firewall must allow the "FTP Server" rule on the appropriate profile (Domain, Private, or Public).

4. Root Cause Analysis

WinCE 3.0 ships with a stripped-down browser that implements HTTP/1.0 and a partial FTP client. The client is designed to request anonymous listings only when the user navigates to a bare ftp://host/ URL. Two specific deficiencies explain every symptom observed:

4.1 Anonymous-Only Authentication

When the user enters ftp://192.168.0.155, Pocket IE opens the control connection, sends USER anonymous, and the IIS server (with anonymous authentication disabled or with a password policy that rejects "anonymous@") replies with 530 Not logged in. The error number is the standard RFC 959 status code and is returned by every conformant server when authentication fails.

4.2 URL-Embedded Credentials Not Parsed

When the user enters ftp://user:[email protected]/, Pocket IE's URL parser ignores everything after the host. It then attempts anonymous login and receives 530, but the parser suppresses the error message because it considered the URL "already authenticated." The result is the silent blank page: the session is technically open but anonymous, the root directory is empty for the anonymous account, and the listing is empty.

4.3 Why MP277 Works but TP177B Does Not

The MP277 uses Windows CE 5.0, whose bundled Internet Explorer implements the full RFC 1738 <userinfo> URL grammar. It correctly extracts the username and password, sends USER user and PASS password, and renders the directory listing. The TP177B's WinCE 3.0 PIE does not implement <userinfo> for the FTP scheme.

5. FTP Error 530 Reference

Server Typical 530 Text Underlying Cause
Microsoft IIS 7.5/8.5 530 User cannot log in, home directory inaccessible. Anonymous disabled and no credentials sent, or NTFS deny on home folder.
Microsoft IIS 7.5/8.5 530 Valid hostname is expected. FTP site binding mismatch (host name not empty, or wrong IP selected).
FileZilla Server 530 Login or password incorrect! Unknown user, or account locked, or password expired.
vsftpd (Linux) 530 Permission denied. User listed in /etc/vsftpd.user_list with deny flag, or pam_stack rejection.

For the TP177B case, the 530 is expected behavior from a server that is correctly enforcing authentication. The fault is on the client (panel) side, not the server.

6. Diagnostic Procedure

Use this sequence to confirm the root cause and rule out genuine server/network faults before applying a workaround.

  1. Verify from a Windows PC. From a second workstation on the same subnet, open Command Prompt and run:
    ftp 192.168.0.155
    Log in with the same user/password that the panel should use. A successful 230 User logged in, proceed and a working dir listing confirm the server is healthy.
  2. Capture the FTP exchange on the PC server (IIS → FTP site → Logging, or Wireshark on TCP port 21). Confirm that the panel's USER command is USER anonymous regardless of what the user typed in PIE.
  3. Try the panel in IE Mobile 6 emulation. From the PC, open http://192.168.0.155/ if an HTTP server is also installed. If HTTP works and FTP returns 530/silence, the issue is protocol-specific to the PIE FTP client.
  4. Compare platforms. If an MP277 is available on the bench, connect it to the same FTP server using the same credentials in IE Mobile 6. A successful listing on MP277 with identical credentials, combined with the failure on TP177B, isolates the fault to the WinCE 3.0 client.
  5. Inspect the TP177B firmware loader. From Start → Programs → Transfer or the WinCC flexible transfer dialog, attempt a recipe/parameter upload. The transfer dialog uses its own SMB-like protocol, not the browser FTP, and may succeed even when the browser fails.

7. Solution 1 — Configure the FTP Server to Allow Anonymous Read of the Required Files

If the use case is read-only (firmware, manual, recipe download from server to panel), enable anonymous FTP read on the IIS site:

  1. In IIS Manager, select the FTP site → FTP Authentication.
  2. Enable Anonymous Authentication.
  3. Set the anonymous user identity to IUSR (default) or a domain account with Read on the target folder.
  4. Set NTFS permissions on the physical directory: IUSR → Read & Execute, List Folder Contents.
  5. From the TP177B, open Pocket IE and navigate to ftp://192.168.0.155/. The directory listing will appear.
Security note: Anonymous FTP exposes files to any host on the network. Use this only on isolated plant networks or VLANs. Disable anonymous as soon as the file transfer is complete.

8. Solution 2 — Migrate to MP277 / TP177B Successors

If authenticated FTP is mandatory, replace the TP177B with an HMI that ships with WinCE 5.0 or later. The following Siemens panel classes support a fully RFC-1738-compliant FTP browser:

Panel OS Browser FTP <userinfo> URL Catalog Number Examples
MP277 8"/10" WinCE 5.0 Internet Explorer Mobile 6 Supported 6AV6 643-0CB01-1AX1, 6AV6 643-0CD01-1AX1
MP377 12"/15"/19" WinCE 5.0 Internet Explorer Mobile 6 Supported 6AV6 644-0AB01-2AX0
Comfort Panel TP700–TP1500 WinCE 6.0 / WinCC RT Advanced Sm@rtServer HTML viewer Supported (HTTP/FTP) 6AV2 124-1MC01-0AX0 (TP700)
Unified Comfort Panel Linux (RT Advanced/Professional) Chromium-based Supported (HTTPS/FTPS) 6AV2 128-...

The migration is largely drop-in: the WinCC flexible project compiles to the new target with the same tags, screens, and scripts. Only the panel type and display size need updating in the project tree.

9. Solution 3 — Switch from FTP to HTTP or SMB File Transfer

Both protocols are supported by the TP177B's WinCE 3.0 stack and avoid the PIE FTP client entirely.

9.1 HTTP File Download (read-only)

  1. On the PC, install IIS Web Server role (if not already present) and create a virtual directory pointing to the file share, e.g., http://192.168.0.155/share/.
  2. Add MIME types for .bin, .fwx, .csv, and .pdf in IIS MIME settings.
  3. On the TP177B, open Pocket IE and navigate to http://192.168.0.155/share/. PIE will render the directory listing (if directory browsing is enabled) and the user can tap any file to download it to the panel's \Flash File System\<filename> or \Storage Card\<filename> location.

9.2 SMB/CIFS File Share (read/write)

The TP177B includes the WinCE SMB client (CIFS redirector). The most reliable method for transferring files to and from a TP177B is a Windows share:

  1. On the PC, create a folder C:\TP177B_Transfer and share it as TP177B$ (hidden) with Read/Write for the engineering account.
  2. Disable Password Protected Sharing in Network and Sharing Center, or set a known user/password pair that matches a local WinCE account.
  3. On the TP177B, open Start → Programs → Windows Explorer and enter in the address bar:
    \\192.168.0.155\TP177B_Transfer\
  4. Authenticate when prompted. Files can be copied in either direction.
WinCE 3.0 SMB limitation: The CIFS client supports SMB1 only. Modern Windows 10/11 disables SMB1 by default. Enable it via Windows Features → SMB 1.0/CIFS File Sharing Support, or set HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\EnableSMB1=1. Plan to disable SMB1 on the server once the TP177B is decommissioned.

10. Solution 4 — Use the WinCC flexible Transfer Dialog

The WinCC flexible Transfer mode on the TP177B is purpose-built for engineering file transfer and uses a Siemens-proprietary protocol over Ethernet or MPI/Profibus. It is independent of the FTP stack.

  1. In WinCC flexible, select Menu → Transfer → Transfer Settings and choose Ethernet.
  2. On the TP177B, enable Start → Settings → OP → Transfer → Ethernet. Set the panel IP to a fixed address in the same subnet as the PC.
  3. Click Transfer on the panel. The panel announces itself via UDP broadcast on port 1105 (WinCC flexible Transfer).
  4. In WinCC flexible, the panel appears in the transfer dialog. Click Transfer to push the compiled .fwx runtime file to the panel.

This is the recommended method for project (HMI image) deployment and is not subject to the FTP client limitation.

11. Solution 5 — Use VBScript or Scheduled Task on the Panel to Pull Files

WinCE 3.0 includes a minimal wininet.dll and the ftp.exe command-line client. The FTP.EXE utility on WinCE 3.0 does support the -s:filename script switch and can authenticate:

  1. Create a script file \Flash File System\getfile.txt containing:
    open 192.168.0.155
    user
    password
    binary
    get firmware.bin
    bye
  2. On the panel, open a command prompt (Start → Programs → Command Prompt) and run:
    ftp -s:\Flash File System\getfile.txt
  3. The transfer completes silently and the file is written to the panel's local storage.

Schedule the call with a WinCE scheduled task or call it from a VBScript in the WinCC flexible runtime using WshShell.Run "ftp -s:\Flash File System\getfile.txt", 0, True.

12. Commissioning Procedure for FTP File Transfer on TP177B

  1. Document the firmware version of the TP177B (Start → Settings → System → About) and the catalog number.
  2. Decide which solution fits the application:
    • Read-only public files → Anonymous FTP (Solution 1)
    • Authenticated engineering transfer → WinCC flexible Transfer (Solution 4) or HTTP/SMB (Solution 3)
    • Authenticated FTP from PIE specifically → Hardware migration to MP277/Comfort Panel (Solution 2)
    • Headless scripted transfer → FTP.EXE with -s script (Solution 5)
  3. Apply the chosen configuration. Capture a Wireshark trace of TCP/21 during a test transfer to verify the protocol exchange.
  4. From the TP177B, perform a controlled pull of a known test file (e.g., 1 MB binary) and confirm the MD5 checksum on both sides.
  5. Record the procedure in the plant's automation network baseline (host, IP, ports, credentials, schedule).

13. Verification Checklist

# Check Pass Criteria
1 PC FTP server is reachable from a Windows client Login succeeds, dir listing returns >= 1 entry
2 Network path between panel and PC Start → Programs → Network and Dial-up Connections shows valid IP, gateway, and DNS (if used)
3 FTP server allows anonymous (if Solution 1) Anonymous user has Read+List on target folder
4 TP177B can browse anonymous listing in PIE Directory renders in PIE without 530 or blank page
5 TP177B can download a test file via PIE File appears under \Storage Card or \Flash File System
6 FTP.EXE script method works (Solution 5) Script runs from command prompt, file is transferred, exit code 0
7 SMB/HTTP alternative works Files accessible via \\server\share or http://server/path
8 WinCC flexible Transfer works Project (.fwx) pushes to panel and restarts cleanly

14. Troubleshooting Matrix

Symptom on TP177B Probable Cause Remedy
530 in PIE, server works from PC PIE sends USER anonymous; server requires authenticated user Enable anonymous read (Solution 1) or switch to MP277 (Solution 2) or use HTTP/SMB (Solution 3)
Blank page in PIE, no error URL contains user:password@ which PIE ignores; anonymous login returns empty listing Remove credentials from URL and enable anonymous on server, or use FTP.EXE script
530 Login incorrect despite correct password FTP over SSL/TLS forced in IIS Disable FTPS in FTP SSL Settings; WinCE 3.0 PIE does not support FTPS
530 Valid hostname is expected IIS FTP site binding requires specific host name not in URL Clear "FTP Host Name" in site bindings or add entry to panel hosts file
Connection times out Passive mode data port range blocked by firewall Open 1024-65535 (or restricted IIS range) in Windows Firewall and any L3 firewall
550 Access is denied when listing Anonymous user has no NTFS rights on root Grant IUSR Read + List on the physical directory
Transfer dialog in WinCC flexible cannot find panel Different subnets, no router, UDP 1105 blocked Use direct IP, enable UDP/1105 in firewall, or use Ethernet-direct crossover
Files downloaded but corrupt FTP transfer used ASCII instead of binary mode Force binary in script: binary before get (Solution 5)

15. Operational Notes and Caveats

  • No firmware upgrade for TP177B: Siemens does not publish WinCE 3.0 patches. Plan hardware migration when the panel is end-of-life for spares (typically 10 years after product phase-out).
  • PIE memory ceiling: WinCE 3.0 PIE has a hard 64 MB heap limit. Very large directory listings (thousands of files) can crash the browser. Mirror only the files required.
  • Character encoding: PIE uses Windows-1252; filenames with non-Latin characters may not display correctly. Use ASCII filenames for FTP shares serving TP177B panels.
  • Security baseline: Avoid placing an FTP server with anonymous read on the same VLAN as safety controllers (S7-300F, S7-400F, ET200S F-modules). Segregate engineering and process networks with a firewall or L2 ACL.
  • Logging: Enable IIS FTP logging in W3C Extended format and ship logs to a central syslog server for audit. Set log file rollover at 10 MB / daily.
  • Compliance: If the plant must follow IEC 62443, anonymous FTP and SMBv1 are not acceptable. Use Comfort Panel (WinCC RT Advanced) with HTTPS / SFTP instead.

16. Related Siemens Documentation

  • Siemens Industry Online Support entry ID 15250466 — TP177B file transfer and FTP behavior
  • Siemens Industry Online Support entry ID 13336639 — TP177B / Pocket Internet Explorer compatibility notes
  • WinCC flexible 2008 SP5 Commissioning Manual (Siemens manual entry ID 21635027 in the legacy portal)
  • SIMATIC TP177B Device Manual (6AV6 591-1DC01-0AB0)

17. FAQ

Can the Pocket Internet Explorer on a TP177B be upgraded to fix FTP error 530?

No. The TP177B ships with Windows CE 3.0 and a locked Pocket Internet Explorer binary. Siemens does not offer browser or OS upgrades for this panel class. Migrate to an MP277 (WinCE 5.0), a Comfort Panel (WinCE 6.0), or use HTTP / SMB / WinCC flexible Transfer for file movement.

Why does ftp://user:password@server/ show a blank page on the TP177B but not on an MP277?

WinCE 3.0 Pocket Internet Explorer does not implement the RFC 1738 <userinfo> portion of the URL grammar. It silently drops the credentials, opens an anonymous session, and the server returns an empty listing for the anonymous user. The MP277's WinCE 5.0 IE Mobile 6 parses the credentials correctly and logs in as the specified user.

What does FTP error 530 mean on the TP177B, and is it a server or client problem?

530 is the standard RFC 959 status code meaning "Not logged in." On the TP177B it is a client-side issue: the panel is sending USER anonymous because PIE cannot inject credentials, while the IIS server has anonymous disabled. The IIS server, FTP user, and password are typically correct.

Can I use FTPS (FTP over TLS) with the TP177B?

No. Windows CE 3.0 Pocket Internet Explorer does not implement RFC 4217 FTP over TLS. Configure the IIS FTP site for plain FTP only, or use HTTP/HTTPS via the Comfort Panel migration path. Enabling FTPS on the server will cause every TP177B login attempt to fail with 530 or 534.

What is the most reliable way to transfer files to a TP177B on a modern Windows PC?

Use the WinCC flexible Transfer dialog for project (.fwx) deployment, and a Windows SMB share (with SMB1 enabled) for runtime files such as recipes and logs. Both methods bypass the PIE FTP client and work on the WinCE 3.0 CIFS stack that the panel does support natively.

Back to blog