I have put the target file's URL into a field named fldMyURL. If I use the line
Code: Select all
launch url fld"fldMyURL"
Code: Select all
put url fld"fldMyURL" into URL"file:lkp.kmz"
Examining the two file in a hex editor shows that they are different lengths and that the corrupted file has a type creator set as TXET/txtt whereas the working file has no type data.
I have also tried the command libURLDownloadToFile but I could not get it to work i.e nothing was downloaded.
Any ideas as to what is going wrong?
best wishes
Simon