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