put url tricks to copy files on windows

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Tue Jun 20 17:38:45 EDT 2017


Mike,

please remove the // from your code and it should work.
And of course make sure that you have write permission to the folder you are writing to.

Regards,
Matthias


Matthias Rebbe
+49 5741 310000
‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌

> Am 20.06.2017 um 23:34 schrieb Mike Kerner via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> I'm trying to use the put url technique to copy files on windows, but I'm
> getting "can't open file"
> If I do something like
> answer line 1 of url ("binfile://"&filename)
> I get what I expect, but when I try to
> put url ("binfile://"&filename) into url ("binfile://"&toFilename)
> I get "can't open file" in the result
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> 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
+49 5741 310000
‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌




More information about the use-livecode mailing list