English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 28 June 2017, 22:39   #1
Registered User
Join Date: Aug 2004
Posts: 3,169
Problem with "missing" files in shared folder

I'm using WinUAE under Wine. I have a shared folder configured. In the shared folder, I can do this in emulation:
Echo "test" >"index.html?C=D;O=A"

The resulting file shows up in Amiga-side directory listings. On doing that command, there was this log output:
FILESYS: 'index.html?C=D;O=A' illegal filename
FILESYS: 'index.html?C=D;O=A' illegal filename
unique name: Z:\Shared\Work\test\__uae___index_html_C=M;O=A

OK so far. However, when there is actually a host-side file in the shared folder called "index.html?C=D;O=A" it's invisible to the Amiga side. WinUAE prints this in the log whenever e.g. you List the containing directory:
FILESYS: 'index.html?C=D;O=A' illegal filename
And the file can't be accessed from the Amiga side.

Just wondering, is that a problem with Wine (e.g. allowing WinUAE to see a non-Windows-legal filename) or something that could be improved in WinUAE?
mark_k is offline  
Old 01 July 2017, 21:35   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 23,808
This seems to be Wine only problem because at least via Samba it is impossible to read any files with Windows illegal characters. (It gets replaced with generated short name)

Anyway, I made some changes. Now all filenames that contain illegal characters have extra check:

a) Attempt to open the file first and check for ERROR_INVALID_NAME return code. If returned -> it is invalid.
b) If it opened, call GetFileType(), if it is not FILE_TYPE_DISK -> invalid. (This filters out dos-compatibility CON, AUX etc automatically only if they actually "exists")

Not sure if this fixes wine "problem" or if it breaks something else..

EDIT: Working or not: include new H=x TYPE=x.. log line.
Toni Wilen is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" DemosongIHunter request.Music 44 27 October 2019 19:04
Why "OpenGL" folder in FS-Uae Launcher v2.5.5dev sources? amair support.FS-UAE 3 20 May 2014 09:06
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
How to find out what files are missing? [split from "Reactions to GBA v1.4 release"] formater project.MAGE 1 03 June 2007 17:45
Missing "Reach out for gold" & link to ads in Zzap Tim Janssen HOL suggestions and feedback 2 15 February 2005 16:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:40.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.05850 seconds with 13 queries