post a file

Jim Ault JimAultWins at yahoo.com
Tue Sep 25 14:01:24 EDT 2007


On 9/25/07 8:44 AM, "R. Hillen" <mail at richard-hillen.de> 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?
> 
This should work for you:

post URL ("binfile:" & fff.shp) to URL myUrl

However, the 'post' command is part of the Rev URL library, so the default
HTTP headers are used.  You may have to adjust them to achieve success.

See the docs for 'the headers', then custom headers, etc.

Jim Ault
Las Vegas





More information about the use-livecode mailing list