Hi Chip,

Just checked v17 and the returned path is correct. But in v15 the / character 
is missing.
I guess the 4D v15 path conversion method is faulty. Because macOS internally 
stores / character in file or folder names as :

Besides of having to live with it, two options:
- change your folder name
- upgrade to v17

Kind regards,
Koen

> Op 25 sep. 2019, om 22:47 heeft Chip Scheide via 4D_Tech 
> <[email protected]> het volgende geschreven:
> 
> I am testing some code. (Mac, 10.11.6 and 4D v15, NON posix file/folder 
> paths)
> as part of the test I select a folder (Select Folder), and then do some 
> actions with/on the resulting path.
> In this specific instance the path I retrieve is:
> Macintosh HD:Users:chip:Desktop:   tblutl_test_results:NEW folder for 
> testing*"\\:
> 
> However the actual folder path is:
> Macintosh HD:Users:chip:Desktop:   tblutl_test_results:NEW folder for 
> testing*"\/:
> 
> Note: 
> - the actual last character of the folder name is a '/'.
> - the OS was/is happy to allow the folder name.
> 
> As you should be able to see the path provided by Select Folder (first 
> path) is incorrect, and as such any attempt to manipulate the folder, 
> its contents etc is met with '... the file or folder path is invalid...'
> 
> Any Idea as to why the Select Folder command is returning an invalid 
> path?
> Is this a bug in v15 I'll have to live with?
> 

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to