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 filenames/filepath (target and source) before 
doing the upload?

My script looks like this:

answer tFile "select file..."
if it is empty then exit to top
put it into tFilePath
replace backslash with slash in tFilePath
set the itemdelimiter to slash
put item -1 of tFilePath into tFile
replace " " with "_" in tFile
put "ftp://username:passw...@ftpserver.com/ 
<ftp://username:passw...@ftpserver.com/>"& tFile into tURL
liburlftpupload tFilePath,tURL  

I´ve tried to urlencode tDatei.


I am pretty sure there is something more.

Regards,

Matthias 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to