Converting from unicode to ASCII

Bob Sneidar bobsneidar at iotecdigital.com
Wed Sep 23 10:52:18 EDT 2020


You could extract the filename part of the path returned by tempfile() and use that anywhere. That would require something to track the visible name linked to the stored filename tho’.

Bob S


On Sep 22, 2020, at 11:10 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

On 9/22/20 10:42 PM, Mark Wieder via use-livecode wrote:
On 9/22/20 7:58 PM, J. Landman Gay via use-livecode wrote:
Is this just a temporary filename (not long-term storage)?

No, the stacks are uploaded to AWS and remain there, retrieved from the server on request. There are currently hundreds of them with more added frequently. That's why I'm looking for a solution that doesn't involve changing all the file names, because renaming and re-uploading all those files would be way too much work.
How do the files get retrieved? Is there a database or something similar that stores the filenames? You could still use UUID filenames from now on and not have to mess with the existing ones.

I may have misled you. When I said the files were permanent, I meant they stay on the server until they get changed, which is fairly regular. They aren't stored on the user's machine where tempfile would be, they are downloaded as needed and only kept in memory.



More information about the use-livecode mailing list