How are you getting the stack into pData?
I just tried this, and it worked:
on mouseup
answer file ""
put it into theFile
put url ("binfile:/"&thefile) into foo
dropboxUpload oauthKey, "/foo.livecodescript", "add", true, false, foo
answer "it:"&&it&&CR&CR&"the result:"&&the result
end mouseup
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode