Hi all - <br><br>I try to parse windows path on linux with `file-name-from-path`, but while it works fine on windows, it doens't parse on Linux. <br><br><div style="margin-left: 40px;">;; Windows <br>Welcome to DrScheme, version 4.0 [3m].<br>
Language: Module; memory limit: 128 megabytes.<br>> (file-name-from-path "c:\\documents and settings\\test\\my file.txt")<br>#<path:my file.txt><br><br>;; Linux <br>Welcome to MzScheme v4.1.3 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.<br>
>> (file-name-from-path "c:\\documents and settings\\test\\my file.txt")<br>#<path:c:\documents and settings\test\my file.txt><br></div><br>I tried to use bytes->path to generate a `windows-path`, but `file-name-from-path` doesn't appear to work with `windows-path`.<br>
<br>This need comes out of IE sending a full path with file upload, so I need to parse out the file name of the path on the web server on Linux. <br><br>What would be the best way to achieve this goal? <br><br>Thanks,<br>
yc<br><br>