post a file
Mark Smith
mark at maseurope.net
Tue Sep 25 12:02:42 EDT 2007
Richard, you can't (I'm pretty sure) post a file, you'll have to read
the file and then post the data:
put URL ("binfile:" & fff.shp) into tData
post tData to URL someURL
However, you may need to UrlEncode the data for this to work, which
I'd imagine the server your'e posting to would expect, so
post urlEncode(tData) to URL someURL
Best,
Mark
On 25 Sep 2007, at 16:44, R. Hillen wrote:
> Hello list,
>
> I want to tansfer a local binary file fff.shp to url MyUrl by http-
> post.
>
> Can you explain, how to post a file?
>
> I think somewhat like >post file fff.shp to URL MyUrl<
>
> Is that really so simple?
>
> Thankx
> Richard.
> _______________________________________________
> 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
More information about the use-livecode
mailing list