<div dir="auto"><div>I have not thoroughly investigated this, but this could be a case for the FileSystem API that Pharo has adopted as the default file accessing API. You do not pass file names around there, but references that are (path + the FileSystem in which they resolve). That way, the information that the gif lives remotely is not lost. Each FileSystem is then responsible for file name conversion and encoding if required.<br><div class="gmail_extra"><br><div class="gmail_quote">Am 26.12.2017 22:15 schrieb "tim Rowledge" <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">… which leads me to note that ServerDirectory/<wbr>RemoteFileStream seem to need some love, and it would be nice to integrate them better wrt file name stuff.<br>
<br>
See ServerDirectory class>>#defaultStemUrl, for example - I’m fairly sure disney wouldn’t want us trying to save Books on ‘jumbo’ any more.<br>
<br>
Consider that whilst FileList tries to handle remote directories, it fails horribly if you try to look at, say, a gif file on a remote server because the code asks for the full name of the file (<a href="http://rowledge.org//tag-comment.gif" rel="noreferrer" target="_blank">rowledge.org//tag-comment.gif</a> for example) and passes that to Form fromFileNamed: Since our filename handling stinks, it doesn’t work out that it needs to make a remote file stream etc.   It really is way past time we had a decent file name handling system that can sensibly deal with stuff like that, and the need to (often) convert file name related strings to/from UTF-8 when talking to a VM, and so on and so forth.<br>
<div class="quoted-text"><br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
</div>Strange OpCodes: SLTMDL: Shift Left, Test Mask and Dim the Lights<br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>