Re: post a file

2007-09-26 Thread Trevor DeVore
On Sep 25, 2007, at 11:44 AM, 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? Richard, Here is some code I use

post a file

2007-09-25 Thread R. Hillen
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

Re: post a file

2007-09-25 Thread Mark Smith
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

Re: post a file

2007-09-25 Thread Jim Ault
On 9/25/07 8:44 AM, R. Hillen [EMAIL PROTECTED] 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