put put

Andre Garzia andre at andregarzia.com
Tue Dec 8 10:46:33 EST 2009


do you still have the dps of version 4? Try building with dp-3 or dp-4 but
not with gm-1 see if it goes away...


On Tue, Dec 8, 2009 at 1:18 PM, Malte Pfaff-Brill <revolution at derbrill.de>wrote:

> I think something is fishy with libURL in Rev 4. Some script that used to
> work in previous versions now breaks with the current engine.
> local tPath, tTempPath
>    put getServerUrl()&"test.pdf" into tPath
>    put the tempname & ".pdf" into tTempPath
>    libURLSetStatusCallback "dataupdate",the long id of sb 1 of stack
> "progressupdate"
>    send "init" to stack "progressUpdate"
>    set the filetype to "prvwPDF "
>    put URL tPath into URL ("binFile:"& tTempPath)
>    libURLSetStatusCallback
>    close stack "progressUpdate"
>    launch document tTempPath
> This works sometimes(on Windows XP), most of the time it does not and we
> end up with half downloaded files or 0 byte files. Rather strange, because
> until now it used to work. Has anyone else seen strangeness with put? Any
> workarounds we could try?
> Cheers,
> Malte
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

http://www.andregarzia.com All We Do Is Code.

More information about the Use-livecode mailing list