Re: FTP file upload with non-ascii characters in filename

2017-03-02 Thread Matthias Rebbe via use-livecode
My problem is solved now. I found out that 1. it works w/o problems under Windows 2. it works under Mac OS X if i unload/disable tsNET So i contacted Charles Warwick. This is his answer —> "OS X / Linux filesystems are all UTF-8, so you need to convert the filename to UTF-8 format before calling

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
It seems it´s not a problem with non-ascii in general. If i first put the content of the file, which i want to upload and which contains non-ascii chars in its filename, into a variable and urlencode the filename of the target file, then i am able to upload the file using "liburlftpupload tDat

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread J. Landman Gay via use-livecode
Maybe textDecode(filename) would work. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 28, 2017 10:01:47 AM Matthias Rebbe via use-livecode wrote: Am 28.02.2017 um 16:36 schrieb Bob Sneidar via

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
> Am 28.02.2017 um 16:36 schrieb Bob Sneidar via use-livecode > mailto:use-livecode@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 t

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Bob Sneidar via use-livecode
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 y

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Dr. Hawkins via use-livecode
On Tue, Feb 28, 2017 at 4:07 AM, Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Because i do not like spaces in URLs. I know, that i could replace it with > %20, but i prefer “_” instead. > I live by the adage that *any* punctuation in a filename other than space or und

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
Thanks Simon, but this does not fix the problem. > Am 28.02.2017 um 10:59 schrieb Simon Knight via use-livecode > mailto:use-livecode@lists.runrev.com>>: > > Hi > > First I am not sure why your code replaces spaces with underscores in tFile. > Because i do not like spaces in URLs. I know, that

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Simon Knight via use-livecode
Hi First I am not sure why your code replaces spaces with underscores in tFile. Next I have an application that displays lists of filenames in a folder. The user clicks on a filename and it is displayed in a browser object on the card. In order to get this to work I had to convert the display

FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
Hi, i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. My script works fine when uploading files with ascii filenames, but as soon as i select a file with non-ascii characters in its filename i get an error What do i have to do with the