FTP file upload with non-ascii characters in filename

J. Landman Gay jacque at hyperactivesw.com
Tue Feb 28 11:14:08 EST 2017


Maybe textDecode(filename) would work.

--
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On February 28, 2017 10:01:47 AM Matthias Rebbe via use-livecode 
<use-livecode at lists.runrev.com> wrote:

>
>> Am 28.02.2017 um 16:36 schrieb Bob Sneidar via use-livecode 
>> <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
>>
>> Is the need because the files already exist, or is it because you cannot 
>> control the source of the files? If possible, the files should probably be 
>> renamed on the other end to make them "compatible" with all file systems. 
>> If not, then maybe urlEncode/urlDecode or the ISO functions may work for you.
>>
>
> Thanks Bob. That´s what i am doing right now.
>
> As i cannot guarantee that my customer won´t use such filenames, i will 
> implement a function that removes and replaces all characters that are 
> non-ascii.
>
> Although, i am wondering how ftp clients like transmit are able to handle 
> such non-ascii characters. Anyway.
>
> Regards,
>
> Matthias
>
>> Bob S
>>
>>
>>> On Feb 28, 2017, at 24:23 , Matthias Rebbe via use-livecode 
>>> <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>> wrote:
>>>
>>> Hi,
>>>
>>> i need to upload files with non-ascii characters in the filename and this 
>>> has to work on Win and Mac OS X.
>>>
>>> <snip>
>>>
>>> Regards,
>>>
>>> Matthias
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>>> <http://lists.runrev.com/mailman/listinfo/use-livecode>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> <http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>
>
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel	+49 5741 310000
>     	+49 160 5504462
> Fax: +49 5741 310002
> eMail: matthias at m-r-d.de <mailto:matthias at m-r-d.de>
>
> BR5 Konverter - BR5 -> MP3 <http://matthiasrebbe.eu/portfolio/produkte/brx/>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list