Hi. I have had this code working perfectly in my application which was compiled using REALbasic 2008R1 but now it's in Real Studio 2012 R2.1 it doesn't work the result is always FALSE:
Dim f as FolderItem
Dim result As Boolean
If SpecialFolder.Temporary <> Nil then
f = SpecialFolder.Temporary.child("TempImage")
result = Get(url, f, 3)
If result then
The LastErrorCode is always 102. The url is visible via browser and in the old compiled application. I have even tried using a different domain url and same problem.
The file is initially written in the Temp folder but remains as zero bytes. When debugging it is readable and writable and not locked.
FYI: it is calling the Get() command but always returning false.
Any help would be greatly appreciated.