Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 440

Android Deployment • Re: File Transfer Error

$
0
0
Hi Googie,

CODE:

...put "C:\users\user\documents\FILE.tmp" into tFileput URL ("binfile:" & tFile) into temp["data"]set itemdel to "/"put the last item of tFile into temp["name"]...
After these lines -> temp["name"] = C:\users\user\documents\FILE.tmp
I think this is the problem.

So you should either change your itemdel to BACKSLASH "\" or use the slash in the pathname:
put "C:/users/user/documents/FILE.tmp" into tFile
Hint:
LC ALWAYS uses the SLASH as a pathdelimiter internally on EVERY platform!
You only need the backslash in pathnames on Windwos if you use SHELL commands or excute a VB script.

Best

Klaus

Statistics: Posted by Klaus — Sun Aug 18, 2024 11:54 am



Viewing all articles
Browse latest Browse all 440

Trending Articles