[REBOL] CGI, uploading file using HTTP, server side, help wanted (max 45 seconde
From: rebol::meurrens::org at: 17-Jun-2003 20:14
Hello All,
[ message en fran=E7ais =E0 la fin ]
I need to upload files on a server in a situation where only
HTTP is available.
I used to do this in PHP but for some obscure reason I want to do it now
in Rebol.
I was really surprised that there is no standard function or script to do
this in REBOL.
I found a few papers and discussions, most on the client point of view.
So I decided to make an object to realize this and, btw, to proceed a
general situation
It works. Fine. And, of course, I'll publish it as open source.
But I tested the job for Win32 and IE6+.
I am quite sure the object will then not be usable by all of you, running
other OS and browsers.
Specifically, I don't know how such OS's add their end of lines within forms,
if they add some additional headers, if they encode to base64, etc, etc.
Before giving the REBOL object to the community, we still need a few tests.
So please upload me a very small text file (just 2 lines with abc ^/ def
will do...)
and a very small bin file (a small image will do). I limit the upload of
each file to approx. 2kb
Of course, the entire upload will be recorded so that I may inspect it.
But "as a reward" the output will provide you a.o. with the 'probe of the
recorded object :-)
Everything, including the source code ( version 0.0.0 )
and the link to a small test form, is at URL:
http://rebol.mksa.net/make-cgi/
Thanks for your cooperation.
</marc>
IN FRENCH:
Meci de vous rendre =E0 la page ci-dessus et de m'uploader un petit fichier
texte et un petit fichier image sous vos OS et navigateurs respectifs. (max
2 ko)
Je suis occup=E9 =E0 remettre en =E9tat sous REBOL le syst=E8me d'=E9change de fichiers
de l'Ecole de Sant=E9 Publique.
Ce message s'adresse surtout =E0 ceux qui ont des OS et/ou des navigateurs un
peu baroques... :-)
</marc>
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)