[REBOL] Re(2): ProHosting is... WORKING! cgiemail.r needs to specify server?
From: arolls:bigpond:au at: 17-Dec-2000 14:15
> I followed Mr.Kracik instructions on his web page
> http://hammer.prohosting.com/~rebol/rebol-cgi-prohosting.html
> download the BSDI version of REBOL and save it
> on cgi-bin, rename your script as .cgi and chmod them
> at 711.
Can we specify permissions when uploading files *in rebol* ,
so we don't have to use chmod in another ftp client ?
It's sub-optimal to have to open another ftp client.
> Remember that the CR/LF of your script needs to be
> UNIX format.
For anyone who doesn't know how to do this,
I did it this way:
write/string server-file read/string local-file
from write help:
/string -- Translates all line terminators.
Note, like /binary, you need to specify /string when
reading *and* writing, otherwise it won't work.
Anton.