Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

HTTP File Uploads

 [1/8] from: tim::johnsons-web::com at: 13-Apr-2003 9:24


Hi Rebols: Has anyone done anything with http uploading? I'm experimenting with it, but the parsing is not easy. Perhaps there is some example code out there? I'm attaching a simple submission form as an example for those who might be interested. -- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com -- HTML file stripped by Listar --

 [2/8] from: andreas:bolka:gmx at: 13-Apr-2003 22:11


Sunday, April 13, 2003, 7:24:27 PM, Tim wrote:
> Has anyone done anything with http uploading?
If you're meaning the server-side part of it - read on below; if you are working on the client sie (i.e. you want to write a rebol client that uploads data using multipart/form-data) have a look at Graham's tutorial: http://www.compkarori.com/cgi-local/vanilla.r?selector=display&snip=HTTP+file+uploading
> I'm experimenting with it, but the parsing is not easy. Perhaps > there is some example code out there?
I am using the attached decode-multipart-form-data to do the server-side parsing. AFAIR I've already posted some usage notes on the list before. Maybe I'll add some notes to the REBOL wiki as well :) If you have any problems using the attached code, notice bugs or have improvements, please let me know. -- Best regards, Andreas mailto:[andreas--bolka--gmx--net] -- Binary/unsupported file stripped by Listar -- -- Type: application/octet-stream -- File: decode-multipart-form-data.r

 [3/8] from: tim:johnsons-web at: 13-Apr-2003 12:04


* Tim Johnson <[tim--johnsons-web--com]> [030413 09:43]:
> Hi Rebols: > Has anyone done anything with http uploading?
<<quoted lines omitted: 7>>
> http://www.johnsons-web.com > -- HTML file stripped by Listar --
Oh shucks! http://www.johnsons-web.com/upload.html Just to illustrate how the html code works. Currently the action is none-existent..
> -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com

 [4/8] from: tim:johnsons-web at: 13-Apr-2003 12:46


* Andreas Bolka <[andreas--bolka--gmx--net]> [030413 12:32]:
> Sunday, April 13, 2003, 7:24:27 PM, Tim wrote: > > Has anyone done anything with http uploading?
<<quoted lines omitted: 5>>
> > I'm experimenting with it, but the parsing is not easy. Perhaps > > there is some example code out there?
Thank you very much Andreas. I think this is just what I am looking for!
> I am using the attached decode-multipart-form-data to do the > server-side parsing. AFAIR I've already posted some usage notes on the > list before. Maybe I'll add some notes to the REBOL wiki as well :) > > If you have any problems using the attached code, notice bugs or have > improvements, please let me know.
Can you do me a favor and send that directly to me at my email address? Listar chomped it. Regards -tim-
> -- > Best regards,
<<quoted lines omitted: 6>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com

 [5/8] from: Al:Bri:xtra at: 14-Apr-2003 19:02


Tim wrote:
> Has anyone done anything with http uploading?
I have.
> Perhaps there is some example code out there?
It's in my Wiki.r code. Let me know directly and I'll send it directly. Andrew Martin ICQ: 26227169 http://valley.150m.com/

 [6/8] from: gchiu:compkarori at: 14-Apr-2003 21:23


On Sun, 13 Apr 2003 22:11:08 +0200 Andreas Bolka <[andreas--bolka--gmx--net]> wrote:
>that uploads data using multipart/form-data) have a look >at Graham's >tutorial: > >http://www.compkarori.com/cgi-local/vanilla.r?selector=display&snip=HTTP+file+uploading
Note the caveat attached at the bottom of the tutorial - I have not actually tested to see if the code works. However, inspecting the headers and body built, it should ...
>server-side parsing. AFAIR I've already posted some usage >notes on the >list before. Maybe I'll add some notes to the REBOL wiki >as well :)
Yes, much appreciated. It would make a nice complementary article. See the notes in vanilla-help as to how to format Rebol code, or use make-doc. -- Graham Chiu http://www.compkarori.com/cgi-local/vanilla.r Rebol Encyclopaedia Project

 [7/8] from: rebolask:free at: 19-Apr-2003 23:55


Thanks I didn't read it yet but that's my need.

 [8/8] from: gchiu:compkarori at: 20-Apr-2003 12:07


On Sat, 19 Apr 2003 23:55:38 +0100 "[rebolask--free--fr]" <[rebolask--free--fr]> wrote:
>Thanks I didn't read it yet but that's my need. >>Sunday, April 13, 2003, 7:24:27 PM, Tim wrote:
<<quoted lines omitted: 3>>
>>http://www.compkarori.com/cgi-local/vanilla.r?selector=display&snip=HTTP+file+uploading >>
Please note that all the URIs have changed as of earlier this week. http://www.compkarori.com/vanilla/display/HTTP+file+uploading -- Graham Chiu http://www.compkarori.com/vanilla/ Rebol Encyclopaedia Project taskmaster

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted