Re: [REBOL] Re: CGI, uploading file using HTTP, server side, help wanted (max 4
From: rebol::meurrens::org at: 21-Jun-2003 14:49
Hello all,
Here is a (temporary) synthesis of the thread on
uploading file with HTTP (the server side point of view)
I initiated a few days ago on the REBOL ML.
Version 0.0.1.4 of make-cgi.r is online at URL http://rebol.mksa.net/make-cgi/
Provides also additional features a.o. related to the visitor's profile.
Thanks to all contributors listed on this page. Most are also listed in the
CC of this mail.
Furthermore, there is question for OLIVIER A. on this page.
Furthermore, there is another question for GRAHAM C. and for ANDREAS B. on
this page.
I hope Olivier, Graham and Andreas will find time to answer these questions.
Or may be some others of you, of course...
I'll publish a (final ?) synthesis after that.
There is also on this page an answer to one of 2 questions of MARIO C.
(questions in a private mail to me, but one of the answers may be
interesting for all)
Feel free to use the script and upload/distribute it on your rebsites.
(Please keep the URL http://rebol.mksa.net/make-cgi/
so that your visitors may allways obtain the very last version
and that documentation and ...credits are available to all users).
Feel free to suggest improvements (I am new to REBOL...)
Have a nice week-end!
Regards,
</marc>
private PS for Mario:
regarding your "uploading 2 files" issue,
there was simply a very very simple typo in your script:
just replace " source-data: cgi/form/OtherFile/content "
by " source-data: cgi/form/AvatarFile/content "
in your script and it will run perfectly.
I suggest however that you use my very last
version and also that you read the remark near XXXX-Mario-XXXX in my source at
http://rebol.mksa.net/make-cgi/make-cgi.r.pretty.html
and then remove the buggy usage of 'to-rebol-file from your script
Use instead my values in
cgi/form/YourFileField/path
cgi/form/YourFileField/name
cgi/form/YourFileField/ext
Prof. Ir Marc Meurrens, Brussels (be)
TEL: +32 (0)2 537 2812
FAX: +32 (0)2 537 7645
EMAIL: [marc--meurrens--org]
URL: http://www.meurrens.org/
REB: http://rebol.mksa.net/
PGPKEY: http://www.meurrens.org/pgp/
Please don't mail me attached files, instead, use my 'exchange area' :
EXCHANGE AREA: http://www.meurrens.org/exchange/
(HTTP/FTP upload/download of temporary/persistent files)