New topic: HTTPSocket and Get Image From URL
<http://forums.realsoftware.com/viewtopic.php?t=48010> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message denise Post subject: HTTPSocket and Get Image From URLPosted: Wed May 29, 2013 11:20 am Joined: Thu Jun 29, 2006 5:55 am Posts: 53 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) End If If result then showPicture f Else drawTempPic End If 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. Thanks! Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
